Back to index

im-sdk  12.3.91
language.h
Go to the documentation of this file.
00001 /* GIMLET: GNOME Input Method Language Enabing Tool
00002  *
00003  * Copyright (C) 2001, 2002 Havoc Pennington
00004  * Copyright (C) 2002 Red Hat, Inc.
00005  * Copyright (C) 2003 Sun Microsystems
00006  * Copyright (C) 2003 Mariano Suarez-Alvarez
00007  *
00008  * This is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU Lesser General Public
00010  * License as published by the Free Software Foundation; either
00011  * version 2 of the License, or (at your option) any later version.
00012  *
00013  * This library is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016  * Lesser General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU Lesser General Public
00019  * License along with this library; if not, write to the
00020  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00021  * Boston, MA 02111-1307, USA.
00022  */
00023 
00024 #ifndef __GIMLET_LANGUAGE_H
00025 #define __GIMLET_LANGUAGE_H
00026 
00027 typedef struct _GimletLanguage GimletLanguage;
00028 
00029 #include "gnome-im-switcher.h"
00030 
00031 void gimlet_language_init (GimletWindow *gimlet);
00032 GtkWidget *gimlet_langmenu_dialog_new (GtkWindow *transient_parent,
00033                                    GimletWindow *gimlet);
00034 void gimlet_language_free (GimletLanguage *language);
00035 
00036 gchar *gimlet_language_get_name (GimletLanguage *data);
00037 gchar *gimlet_language_get_iiim_lang_name (GimletLanguage *data);
00038 gchar *gimlet_language_get_conversion_mode (char *iiim_lang_name);
00039 gchar *gimlet_language_find_name (char *iiim_lang_name);
00040 gchar *gimlet_language_find_description (char *iiim_lang_name);
00041 gchar *gimlet_language_find_short (char *iiim_lang_name);
00042 
00043 GSList *gimlet_language_get_active_languages (void);
00044 void gimlet_language_add_active_language (GimletWindow *gimlet,
00045                                      char *iiim_lang_name);
00046 
00047 GtkWidget *gimlet_hotkey_dialog_new (GtkWidget *, GimletWindow *);
00048 
00049 #endif