/*
 * 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-08 10:21:56 EDT
 */

#include <jni.h>
#include <sys/types.h>
#include <gnome.h>
#ifdef __cplusplus
extern "C" 
{
#endif
    /****************************************
     * BEGINNING OF GENERATED CODE
     ****************************************/
    /*
     * Class:     org.gnu.gnome.Util
     * Method:    gnome_util_home_file
     * Signature: (java.lang.String;)java.lang.String;
     */
    JNIEXPORT jstring JNICALL Java_org_gnu_gnome_Util_gnome_1util_1home_1file (JNIEnv *env, 
        jclass cls, jstring afile) 
    {
        const gchar* afile_g = (*env)->GetStringUTFChars(env, afile, 0);
        const gchar *result_g = gnome_util_home_file (afile_g);
        (*env)->ReleaseStringUTFChars(env, afile, afile_g);
        return (*env)->NewStringUTF(env, result_g);
    }

    /*
     * Class:     org.gnu.gnome.Util
     * Method:    gnome_util_user_shell
     * Signature: ()java.lang.String;
     */
    JNIEXPORT jstring JNICALL Java_org_gnu_gnome_Util_gnome_1util_1user_1shell (JNIEnv *env, 
        jclass cls) 
    {
        const gchar *result_g = gnome_util_user_shell ();
        return (*env)->NewStringUTF(env, result_g);
    }

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

#endif
