/*
 * 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:25 EDT
 */

#include <jni.h>
#include <sys/types.h>
#include <gdk/gdk.h>
#ifdef __cplusplus
extern "C" 
{
#endif
    /****************************************
     * BEGINNING OF GENERATED CODE
     ****************************************/

    GdkEventType GdkEventCrossing_get_type (GdkEventCrossing * cptr) 
    {
        return cptr->type;
    }

    /*
     * Class:     org.gnu.gdk.EventCrossing
     * Method:    getType
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gdk_EventCrossing_getType (JNIEnv *env, jclass cls, jint 
        obj) 
    {
        GdkEventCrossing *obj_g = (GdkEventCrossing *)obj;
        {
            jint result_j = (jint) (GdkEventCrossing_get_type (obj_g));
            return result_j;
        }
    }

    GdkWindow * GdkEventCrossing_get_window (GdkEventCrossing * cptr) 
    {
        return cptr->window;
    }

    /*
     * Class:     org.gnu.gdk.EventCrossing
     * Method:    getWindow
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gdk_EventCrossing_getWindow (JNIEnv *env, jclass cls, jint 
        obj) 
    {
        GdkEventCrossing *obj_g = (GdkEventCrossing *)obj;
        {
            return (jint)GdkEventCrossing_get_window (obj_g);
        }
    }

    gboolean GdkEventCrossing_get_send_event (GdkEventCrossing * cptr) 
    {
        return cptr->send_event;
    }

    /*
     * Class:     org.gnu.gdk.EventCrossing
     * Method:    getSendEvent
     * Signature: (I)Z
     */
    JNIEXPORT jboolean JNICALL Java_org_gnu_gdk_EventCrossing_getSendEvent (JNIEnv *env, jclass 
        cls, jint obj) 
    {
        GdkEventCrossing *obj_g = (GdkEventCrossing *)obj;
        {
            jboolean result_j = (jboolean) (GdkEventCrossing_get_send_event (obj_g));
            return result_j;
        }
    }

    GdkWindow * GdkEventCrossing_get_subwindow (GdkEventCrossing * cptr) 
    {
        return cptr->subwindow;
    }

    /*
     * Class:     org.gnu.gdk.EventCrossing
     * Method:    getSubwindow
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gdk_EventCrossing_getSubwindow (JNIEnv *env, jclass cls, 
        jint obj) 
    {
        GdkEventCrossing *obj_g = (GdkEventCrossing *)obj;
        {
            return (jint)GdkEventCrossing_get_subwindow (obj_g);
        }
    }

    time_t GdkEventCrossing_get_time (GdkEventCrossing * cptr) 
    {
        return cptr->time;
    }

    /*
     * Class:     org.gnu.gdk.EventCrossing
     * Method:    getTime
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gdk_EventCrossing_getTime (JNIEnv *env, jclass cls, jint 
        obj) 
    {
        GdkEventCrossing *obj_g = (GdkEventCrossing *)obj;
        {
            jint result = GdkEventCrossing_get_time (obj_g);
            return result;
        }
    }

    gdouble GdkEventCrossing_get_x (GdkEventCrossing * cptr) 
    {
        return cptr->x;
    }

    /*
     * Class:     org.gnu.gdk.EventCrossing
     * Method:    getX
     * Signature: (I)D
     */
    JNIEXPORT jdouble JNICALL Java_org_gnu_gdk_EventCrossing_getX (JNIEnv *env, jclass cls, jint 
        obj) 
    {
        GdkEventCrossing *obj_g = (GdkEventCrossing *)obj;
        {
            jdouble result_j = (jdouble) (GdkEventCrossing_get_x (obj_g));
            return result_j;
        }
    }

    gdouble GdkEventCrossing_get_y (GdkEventCrossing * cptr) 
    {
        return cptr->y;
    }

    /*
     * Class:     org.gnu.gdk.EventCrossing
     * Method:    getY
     * Signature: (I)D
     */
    JNIEXPORT jdouble JNICALL Java_org_gnu_gdk_EventCrossing_getY (JNIEnv *env, jclass cls, jint 
        obj) 
    {
        GdkEventCrossing *obj_g = (GdkEventCrossing *)obj;
        {
            jdouble result_j = (jdouble) (GdkEventCrossing_get_y (obj_g));
            return result_j;
        }
    }

    gdouble GdkEventCrossing_get_x_root (GdkEventCrossing * cptr) 
    {
        return cptr->x_root;
    }

    /*
     * Class:     org.gnu.gdk.EventCrossing
     * Method:    getXRoot
     * Signature: (I)D
     */
    JNIEXPORT jdouble JNICALL Java_org_gnu_gdk_EventCrossing_getXRoot (JNIEnv *env, jclass cls, 
        jint obj) 
    {
        GdkEventCrossing *obj_g = (GdkEventCrossing *)obj;
        {
            jdouble result_j = (jdouble) (GdkEventCrossing_get_x_root (obj_g));
            return result_j;
        }
    }

    gdouble GdkEventCrossing_get_y_root (GdkEventCrossing * cptr) 
    {
        return cptr->y_root;
    }

    /*
     * Class:     org.gnu.gdk.EventCrossing
     * Method:    getYRoot
     * Signature: (I)D
     */
    JNIEXPORT jdouble JNICALL Java_org_gnu_gdk_EventCrossing_getYRoot (JNIEnv *env, jclass cls, 
        jint obj) 
    {
        GdkEventCrossing *obj_g = (GdkEventCrossing *)obj;
        {
            jdouble result_j = (jdouble) (GdkEventCrossing_get_y_root (obj_g));
            return result_j;
        }
    }

    GdkCrossingMode GdkEventCrossing_get_mode (GdkEventCrossing * cptr) 
    {
        return cptr->mode;
    }

    /*
     * Class:     org.gnu.gdk.EventCrossing
     * Method:    getMode
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gdk_EventCrossing_getMode (JNIEnv *env, jclass cls, jint 
        obj) 
    {
        GdkEventCrossing *obj_g = (GdkEventCrossing *)obj;
        {
            jint result_j = (jint) (GdkEventCrossing_get_mode (obj_g));
            return result_j;
        }
    }

    GdkNotifyType GdkEventCrossing_get_detail (GdkEventCrossing * cptr) 
    {
        return cptr->detail;
    }

    /*
     * Class:     org.gnu.gdk.EventCrossing
     * Method:    getDetail
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gdk_EventCrossing_getDetail (JNIEnv *env, jclass cls, jint 
        obj) 
    {
        GdkEventCrossing *obj_g = (GdkEventCrossing *)obj;
        {
            jint result_j = (jint) (GdkEventCrossing_get_detail (obj_g));
            return result_j;
        }
    }

    gboolean GdkEventCrossing_get_focus (GdkEventCrossing * cptr) 
    {
        return cptr->focus;
    }

    /*
     * Class:     org.gnu.gdk.EventCrossing
     * Method:    getFocus
     * Signature: (I)Z
     */
    JNIEXPORT jboolean JNICALL Java_org_gnu_gdk_EventCrossing_getFocus (JNIEnv *env, jclass cls, 
        jint obj) 
    {
        GdkEventCrossing *obj_g = (GdkEventCrossing *)obj;
        {
            jboolean result_j = (jboolean) (GdkEventCrossing_get_focus (obj_g));
            return result_j;
        }
    }

    guint32 GdkEventCrossing_get_state (GdkEventCrossing * cptr) 
    {
        return cptr->state;
    }

    /*
     * Class:     org.gnu.gdk.EventCrossing
     * Method:    getState
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gdk_EventCrossing_getState (JNIEnv *env, jclass cls, jint 
        obj) 
    {
        GdkEventCrossing *obj_g = (GdkEventCrossing *)obj;
        {
            jint result_j = (jint) (GdkEventCrossing_get_state (obj_g));
            return result_j;
        }
    }

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

#endif
