/*
 * Java-Gnome Bindings Library
 *
 * Copyright 1998-2002 the Java-Gnome Team, all rights reserved.
 *
 * The Java-Gnome Team Members:
 *   Jean Van Wyk <jeanvanwyk@iname.com>
 *   Jeffrey S. Morgan <jeffrey.morgan@bristolwest.com>
 *   Dan Bornstein <danfuzz@milk.com>
 *
 * The Java-Gnome bindings library is free software distributed under
 * the terms of the GNU Library General Public License version 2.
 *
 * This file was orriginally generated by the Java-GNOME Code Generator
 * Please do not modify the code that is identified as generated.  Also,
 * please insert your code above the generated code.
 *
 * Generation date: 2002-08-02 09:42:28 EDT
 */

#include <jni.h>
#include <sys/types.h>
#include <gtk/gtk.h>
#ifdef __cplusplus
extern "C" 
{
#endif
    /****************************************
     * BEGINNING OF GENERATED CODE
     ****************************************/
    gdouble GtkProgress_get_x_align (GtkProgress * cptr) 
    {
        return cptr->x_align;
    }

    /*
     * Class:     org.gnu.gtk.Progress
     * Method:    getXAlign
     * Signature: (I)D
     */
    JNIEXPORT jdouble JNICALL Java_org_gnu_gtk_Progress_getXAlign (JNIEnv *env, jclass cls, jint 
        cptr) 
    {
        GtkProgress *cptr_g = (GtkProgress *)cptr;
        {
            jdouble result_j = (jdouble) (GtkProgress_get_x_align (cptr_g));
            return result_j;
        }
    }

    gdouble GtkProgress_get_y_align (GtkProgress * cptr) 
    {
        return cptr->y_align;
    }

    /*
     * Class:     org.gnu.gtk.Progress
     * Method:    getYAlign
     * Signature: (I)D
     */
    JNIEXPORT jdouble JNICALL Java_org_gnu_gtk_Progress_getYAlign (JNIEnv *env, jclass cls, jint 
        cptr) 
    {
        GtkProgress *cptr_g = (GtkProgress *)cptr;
        {
            jdouble result_j = (jdouble) (GtkProgress_get_y_align (cptr_g));
            return result_j;
        }
    }

    gboolean GtkProgress_get_show_text (GtkProgress * cptr) 
    {
        return cptr->show_text;
    }

    /*
     * Class:     org.gnu.gtk.Progress
     * Method:    getShowText
     * Signature: (I)Z
     */
    JNIEXPORT jboolean JNICALL Java_org_gnu_gtk_Progress_getShowText (JNIEnv *env, jclass cls, jint 
        cptr) 
    {
        GtkProgress *cptr_g = (GtkProgress *)cptr;
        {
            jboolean result_j = (jboolean) (GtkProgress_get_show_text (cptr_g));
            return result_j;
        }
    }

    gboolean GtkProgress_get_activity_mode (GtkProgress * cptr) 
    {
        return cptr->activity_mode;
    }

    /*
     * Class:     org.gnu.gtk.Progress
     * Method:    getActivityMode
     * Signature: (I)Z
     */
    JNIEXPORT jboolean JNICALL Java_org_gnu_gtk_Progress_getActivityMode (JNIEnv *env, jclass cls, 
        jint cptr) 
    {
        GtkProgress *cptr_g = (GtkProgress *)cptr;
        {
            jboolean result_j = (jboolean) (GtkProgress_get_activity_mode (cptr_g));
            return result_j;
        }
    }

    gboolean GtkProgress_get_use_text_format (GtkProgress * cptr) 
    {
        return cptr->use_text_format;
    }

    /*
     * Class:     org.gnu.gtk.Progress
     * Method:    getUseTextFormat
     * Signature: (I)Z
     */
    JNIEXPORT jboolean JNICALL Java_org_gnu_gtk_Progress_getUseTextFormat (JNIEnv *env, jclass cls, 
        jint cptr) 
    {
        GtkProgress *cptr_g = (GtkProgress *)cptr;
        {
            jboolean result_j = (jboolean) (GtkProgress_get_use_text_format (cptr_g));
            return result_j;
        }
    }

    gchar * GtkProgress_get_format (GtkProgress * cptr) 
    {
        return cptr->format;
    }

    /*
     * Class:     org.gnu.gtk.Progress
     * Method:    getFormat
     * Signature: (I)[B
     */
    JNIEXPORT jstring JNICALL Java_org_gnu_gtk_Progress_getFormat (JNIEnv *env, jclass cls, jint 
        cptr) 
    {
        GtkProgress *cptr_g = (GtkProgress *)cptr;
		return (*env)->NewStringUTF(env,  GtkProgress_get_format (cptr_g) );
    }

    GtkAdjustment * GtkProgress_get_adjustment (GtkProgress * cptr) 
    {
        return cptr->adjustment;
    }

    /*
     * Class:     org.gnu.gtk.Progress
     * Method:    getAdjustment
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_Progress_getAdjustment (JNIEnv *env, jclass cls, jint 
        cptr) 
    {
        GtkProgress *cptr_g = (GtkProgress *)cptr;
        {
            return (jint)GtkProgress_get_adjustment (cptr_g);
        }
    }

    GdkPixmap * GtkProgress_get_offscreen_pixmap (GtkProgress * cptr) 
    {
        return cptr->offscreen_pixmap;
    }

    /*
     * Class:     org.gnu.gtk.Progress
     * Method:    getOffscreenPixmap
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_Progress_getOffscreenPixmap (JNIEnv *env, jclass cls, 
        jint cptr) 
    {
        GtkProgress *cptr_g = (GtkProgress *)cptr;
        {
            return (jint)GtkProgress_get_offscreen_pixmap (cptr_g);
        }
    }

    /****************************************
     * END OF GENERATED CODE
     ****************************************/
#ifdef __cplusplus
}

#endif
