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

#include <jni.h>
#include <sys/types.h>
#include <gdk/gdk.h>
#ifdef __cplusplus
extern "C" 
{
#endif
    /****************************************
     * BEGINNING OF GENERATED CODE
     ****************************************/
    GdkEventType GdkEventSelection_get_type (GdkEventSelection * cptr) 
    {
        return cptr->type;
    }

    /*
     * Class:     org.gnu.gdk.EventSelection
     * Method:    getType
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gdk_EventSelection_getType (JNIEnv *env, jclass cls, jint 
        obj) 
    {
        GdkEventSelection *obj_g = (GdkEventSelection *)obj;
        {
            jint result_j = (jint) (GdkEventSelection_get_type (obj_g));
            return result_j;
        }
    }

    GdkWindow * GdkEventSelection_get_window (GdkEventSelection * cptr) 
    {
        return cptr->window;
    }

    /*
     * Class:     org.gnu.gdk.EventSelection
     * Method:    getWindow
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gdk_EventSelection_getWindow (JNIEnv *env, jclass cls, jint 
        obj) 
    {
        GdkEventSelection *obj_g = (GdkEventSelection *)obj;
        {
            return (jint)GdkEventSelection_get_window (obj_g);
        }
    }

    gboolean GdkEventSelection_get_send_event (GdkEventSelection * cptr) 
    {
        return cptr->send_event;
    }

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

    GdkAtom * GdkEventSelection_get_selection (GdkEventSelection * cptr) 
    {
        return (GdkAtom *)cptr->selection;
    }

    /*
     * Class:     org.gnu.gdk.EventSelection
     * Method:    getSelection
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gdk_EventSelection_getSelection (JNIEnv *env, jclass cls, 
        jint obj) 
    {
        GdkEventSelection *obj_g = (GdkEventSelection *)obj;
        {
            return (jint)GdkEventSelection_get_selection (obj_g);
        }
    }

    GdkAtom * GdkEventSelection_get_target (GdkEventSelection * cptr) 
    {
        return (GdkAtom *)cptr->target;
    }

    /*
     * Class:     org.gnu.gdk.EventSelection
     * Method:    getTarget
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gdk_EventSelection_getTarget (JNIEnv *env, jclass cls, jint 
        obj) 
    {
        GdkEventSelection *obj_g = (GdkEventSelection *)obj;
        {
            return (jint)GdkEventSelection_get_target (obj_g);
        }
    }

    GdkAtom * GdkEventSelection_get_property (GdkEventSelection * cptr) 
    {
        return (GdkAtom *)cptr->property;
    }

    /*
     * Class:     org.gnu.gdk.EventSelection
     * Method:    getProperty
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gdk_EventSelection_getProperty (JNIEnv *env, jclass cls, 
        jint obj) 
    {
        GdkEventSelection *obj_g = (GdkEventSelection *)obj;
        {
            return (jint)GdkEventSelection_get_property (obj_g);
        }
    }

    GdkNativeWindow * GdkEventSelection_get_requestor (GdkEventSelection * cptr) 
    {
        return (GdkNativeWindow *)cptr->requestor;
    }

    /*
     * Class:     org.gnu.gdk.EventSelection
     * Method:    getRequestor
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gdk_EventSelection_getRequestor (JNIEnv *env, jclass cls, 
        jint obj) 
    {
        GdkEventSelection *obj_g = (GdkEventSelection *)obj;
        {
            return (jint)GdkEventSelection_get_requestor (obj_g);
        }
    }

    time_t GdkEventSelection_get_time (GdkEventSelection * cptr) 
    {
        return cptr->time;
    }

    /*
     * Class:     org.gnu.gdk.EventSelection
     * Method:    getTime
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gdk_EventSelection_getTime (JNIEnv *env, jclass cls, jint 
        obj) 
    {
        GdkEventSelection *obj_g = (GdkEventSelection *)obj;
        {
            jint result = GdkEventSelection_get_time (obj_g);
            return result;
        }
    }

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

#endif
