/*
 * 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-01 07:00:36 EDT
 */

#include <jni.h>
#include <sys/types.h>
#include <gdk/gdk.h>
#ifdef __cplusplus
extern "C" 
{
#endif
    /****************************************
     * BEGINNING OF GENERATED CODE
     ****************************************/
    gint32 GdkGeometry_get_min_width (GdkGeometry * cptr) 
    {
        return cptr->min_width;
    }

    /*
     * Class:     org.gnu.gdk.Geometry
     * Method:    getMinWidth
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gdk_Geometry_getMinWidth (JNIEnv *env, jclass cls, jint obj)
    {
        GdkGeometry *obj_g = (GdkGeometry *)obj;
        {
            jint result_j = (jint) (GdkGeometry_get_min_width (obj_g));
            return result_j;
        }
    }

    gint32 GdkGeometry_get_min_height (GdkGeometry * cptr) 
    {
        return cptr->min_height;
    }

    /*
     * Class:     org.gnu.gdk.Geometry
     * Method:    getMinHeight
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gdk_Geometry_getMinHeight (JNIEnv *env, jclass cls, jint 
        obj) 
    {
        GdkGeometry *obj_g = (GdkGeometry *)obj;
        {
            jint result_j = (jint) (GdkGeometry_get_min_height (obj_g));
            return result_j;
        }
    }

    gint32 GdkGeometry_get_max_width (GdkGeometry * cptr) 
    {
        return cptr->max_width;
    }

    /*
     * Class:     org.gnu.gdk.Geometry
     * Method:    getMaxWidth
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gdk_Geometry_getMaxWidth (JNIEnv *env, jclass cls, jint obj)
    {
        GdkGeometry *obj_g = (GdkGeometry *)obj;
        {
            jint result_j = (jint) (GdkGeometry_get_max_width (obj_g));
            return result_j;
        }
    }

    gint32 GdkGeometry_get_max_height (GdkGeometry * cptr) 
    {
        return cptr->max_height;
    }

    /*
     * Class:     org.gnu.gdk.Geometry
     * Method:    getMaxHeight
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gdk_Geometry_getMaxHeight (JNIEnv *env, jclass cls, jint 
        obj) 
    {
        GdkGeometry *obj_g = (GdkGeometry *)obj;
        {
            jint result_j = (jint) (GdkGeometry_get_max_height (obj_g));
            return result_j;
        }
    }

    gint32 GdkGeometry_get_base_width (GdkGeometry * cptr) 
    {
        return cptr->base_width;
    }

    /*
     * Class:     org.gnu.gdk.Geometry
     * Method:    getBaseWidth
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gdk_Geometry_getBaseWidth (JNIEnv *env, jclass cls, jint 
        obj) 
    {
        GdkGeometry *obj_g = (GdkGeometry *)obj;
        {
            jint result_j = (jint) (GdkGeometry_get_base_width (obj_g));
            return result_j;
        }
    }

    gint32 GdkGeometry_get_base_height (GdkGeometry * cptr) 
    {
        return cptr->base_height;
    }

    /*
     * Class:     org.gnu.gdk.Geometry
     * Method:    getBaseHeight
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gdk_Geometry_getBaseHeight (JNIEnv *env, jclass cls, jint 
        obj) 
    {
        GdkGeometry *obj_g = (GdkGeometry *)obj;
        {
            jint result_j = (jint) (GdkGeometry_get_base_height (obj_g));
            return result_j;
        }
    }

    gint32 GdkGeometry_get_width_inc (GdkGeometry * cptr) 
    {
        return cptr->width_inc;
    }

    /*
     * Class:     org.gnu.gdk.Geometry
     * Method:    getWidthInc
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gdk_Geometry_getWidthInc (JNIEnv *env, jclass cls, jint obj)
    {
        GdkGeometry *obj_g = (GdkGeometry *)obj;
        {
            jint result_j = (jint) (GdkGeometry_get_width_inc (obj_g));
            return result_j;
        }
    }

    gint32 GdkGeometry_get_height_inc (GdkGeometry * cptr) 
    {
        return cptr->height_inc;
    }

    /*
     * Class:     org.gnu.gdk.Geometry
     * Method:    getHeightInc
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gdk_Geometry_getHeightInc (JNIEnv *env, jclass cls, jint 
        obj) 
    {
        GdkGeometry *obj_g = (GdkGeometry *)obj;
        {
            jint result_j = (jint) (GdkGeometry_get_height_inc (obj_g));
            return result_j;
        }
    }

    gdouble GdkGeometry_get_min_aspect (GdkGeometry * cptr) 
    {
        return cptr->min_aspect;
    }

    /*
     * Class:     org.gnu.gdk.Geometry
     * Method:    getMinAspect
     * Signature: (I)D
     */
    JNIEXPORT jdouble JNICALL Java_org_gnu_gdk_Geometry_getMinAspect (JNIEnv *env, jclass cls, jint 
        obj) 
    {
        GdkGeometry *obj_g = (GdkGeometry *)obj;
        {
            jdouble result_j = (jdouble) (GdkGeometry_get_min_aspect (obj_g));
            return result_j;
        }
    }

    gdouble GdkGeometry_get_max_aspect (GdkGeometry * cptr) 
    {
        return cptr->max_aspect;
    }

    /*
     * Class:     org.gnu.gdk.Geometry
     * Method:    getMaxAspect
     * Signature: (I)D
     */
    JNIEXPORT jdouble JNICALL Java_org_gnu_gdk_Geometry_getMaxAspect (JNIEnv *env, jclass cls, jint 
        obj) 
    {
        GdkGeometry *obj_g = (GdkGeometry *)obj;
        {
            jdouble result_j = (jdouble) (GdkGeometry_get_max_aspect (obj_g));
            return result_j;
        }
    }

    GdkGravity GdkGeometry_get_win_gravity (GdkGeometry * cptr) 
    {
        return cptr->win_gravity;
    }

    /*
     * Class:     org.gnu.gdk.Geometry
     * Method:    getWinGravity
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gdk_Geometry_getWinGravity (JNIEnv *env, jclass cls, jint 
        obj) 
    {
        GdkGeometry *obj_g = (GdkGeometry *)obj;
        {
            jint result_j = (jint) (GdkGeometry_get_win_gravity (obj_g));
            return result_j;
        }
    }

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

#endif
