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

#include <jni.h>
#include <sys/types.h>
#include <gtk/gtk.h>
#ifdef __cplusplus
extern "C" 
{
#endif
    /****************************************
     * BEGINNING OF GENERATED CODE
     ****************************************/
    gchar * GtkRcStyle_get_name (GtkRcStyle * cptr) 
    {
        return cptr->name;
    }

    /*
     * Class:     org.gnu.gtk.RcStyle
     * Method:    getName
     * Signature: (I)java.lang.String;
     */
    JNIEXPORT jstring JNICALL Java_org_gnu_gtk_RcStyle_getName (JNIEnv *env, jclass cls, jint 
        cptr) 
    {
        gchar *result_g = GtkRcStyle_get_name ((GtkRcStyle*)cptr);
        return (*env)->NewStringUTF(env, result_g);
    }

    PangoFontDescription * GtkRcStyle_get_font_desc (GtkRcStyle * cptr) 
    {
        return cptr->font_desc;
    }

    /*
     * Class:     org.gnu.gtk.RcStyle
     * Method:    getFontDesc
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_RcStyle_getFontDesc (JNIEnv *env, jclass cls, jint cptr)
    {
        GtkRcStyle *cptr_g = (GtkRcStyle *)cptr;
        {
            return (jint)GtkRcStyle_get_font_desc (cptr_g);
        }
    }

    gint32 GtkRcStyle_get_xthickness (GtkRcStyle * cptr) 
    {
        return cptr->xthickness;
    }

    /*
     * Class:     org.gnu.gtk.RcStyle
     * Method:    getXthickness
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_RcStyle_getXthickness (JNIEnv *env, jclass cls, jint 
        cptr) 
    {
        GtkRcStyle *cptr_g = (GtkRcStyle *)cptr;
        {
            jint result_j = (jint) (GtkRcStyle_get_xthickness (cptr_g));
            return result_j;
        }
    }

    gint32 GtkRcStyle_get_ythickness (GtkRcStyle * cptr) 
    {
        return cptr->ythickness;
    }

    /*
     * Class:     org.gnu.gtk.RcStyle
     * Method:    getYthickness
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_RcStyle_getYthickness (JNIEnv *env, jclass cls, jint 
        cptr) 
    {
        GtkRcStyle *cptr_g = (GtkRcStyle *)cptr;
        {
            jint result_j = (jint) (GtkRcStyle_get_ythickness (cptr_g));
            return result_j;
        }
    }

    /*
     * Class:     org.gnu.gtk.RcStyle
     * Method:    gtk_rc_style_get_type
     * Signature: ()I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_RcStyle_gtk_1rc_1style_1get_1type (JNIEnv *env, jclass 
        cls) 
    {
        {
            return (jint)gtk_rc_style_get_type ();
        }
    }

    /*
     * Class:     org.gnu.gtk.RcStyle
     * Method:    gtk_rc_style_new
     * Signature: ()I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_RcStyle_gtk_1rc_1style_1new (JNIEnv *env, jclass cls) 
    {
        {
            return (jint)gtk_rc_style_new ();
        }
    }

    /*
     * Class:     org.gnu.gtk.RcStyle
     * Method:    gtk_rc_style_copy
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_RcStyle_gtk_1rc_1style_1copy (JNIEnv *env, jclass cls, 
        jint orig) 
    {
        GtkRcStyle *orig_g = (GtkRcStyle *)orig;
        {
            return (jint)gtk_rc_style_copy (orig_g);
        }
    }

    /*
     * Class:     org.gnu.gtk.RcStyle
     * Method:    gtk_rc_style_ref
     * Signature: (I)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_gtk_RcStyle_gtk_1rc_1style_1ref (JNIEnv *env, jclass cls, 
        jint rc_style) 
    {
        GtkRcStyle *rc_style_g = (GtkRcStyle *)rc_style;
        {
            gtk_rc_style_ref (rc_style_g);
        }
    }

    /*
     * Class:     org.gnu.gtk.RcStyle
     * Method:    gtk_rc_style_unref
     * Signature: (I)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_gtk_RcStyle_gtk_1rc_1style_1unref (JNIEnv *env, jclass cls, 
        jint rc_style) 
    {
        GtkRcStyle *rc_style_g = (GtkRcStyle *)rc_style;
        {
            gtk_rc_style_unref (rc_style_g);
        }
    }

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

#endif
