client-gtk/scim-bridge-client-imcontext-gtk.h

Go to the documentation of this file.
00001 /*
00002  * SCIM Bridge
00003  *
00004  * Copyright (c) 2006 Ryo Dairiki <ryo-dairiki@users.sourceforge.net>
00005  *
00006  *
00007  * This library is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Lesser General Public
00009  * License as published by the Free Software Foundation; either
00010  * version 2 of the License, or (at your option) any later version.*
00011  * This library is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
00014  * GNU Lesser General Public License for more details.*
00015  * You should have received a copy of the GNU Lesser General Public
00016  * License along with this program; if not, write to the
00017  * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
00018  * Boston, MA  02111-1307  USA
00019  */
00020 
00028 #ifndef SCIMBRIDGECLIENTIMCONTEXTGTK_H_
00029 #define SCIMBRIDGECLIENTIMCONTEXTGTK_H_
00030 
00031 #include <gtk/gtk.h>
00032 #include <gtk/gtkimcontext.h>
00033 
00034 #include <gdk/gdk.h>
00035 
00036 #include "scim-bridge.h"
00037 #include "scim-bridge-client-imcontext.h"
00038 
00039 #define GTK_TYPE_SCIM_CLIENT_IMCONTEXT (scim_bridge_client_imcontext_get_type ())
00040 #define SCIM_BRIDGE_CLIENT_IMCONTEXT(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_SCIM_CLIENT_IMCONTEXT, ScimBridgeClientIMContext))
00041 #define SCIM_BRIDGE_CLIENT_IMCONTEXT_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_SCIM_CLIENT_IMCONTEXT, ScimBridgeClientIMContextClass))
00042 #define IS_SCIM_BRIDGE_CLIENT_IMCONTEXT(class) (GTK_CHECK_TYPE ((obj), GTK_TYPE_SCIM_CLIENT_IMCONTEXT))
00043 #define IS_SCIM_BRIDGE_CLIENT_IMCONTEXT_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SCIM_CLIENT_IMCONTEXT))
00044 #define SCIM_BRIDGE_CLIENT_IMCONTEXT_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_SCIM_CLIENT_IMCONTEXT, ScimBridgeClientIMContextClass))
00045 
00046 struct _ScimBridgeClientIMContextClass
00047 {
00048     GtkIMContextClass parent_class;
00049 };
00050 
00054 typedef struct _ScimBridgeClientIMContextClass ScimBridgeClientIMContextClass;
00055 
00059 void scim_bridge_client_imcontext_static_initialize ();
00060 
00064 void scim_bridge_client_imcontext_static_finalize ();
00065 
00069 void scim_bridge_client_imcontext_connection_opened ();
00070 
00074 void scim_bridge_client_imcontext_connection_closed ();
00075 
00081 GtkIMContext *scim_bridge_client_imcontext_new ();
00082 
00088 GType scim_bridge_client_imcontext_get_type ();
00089 
00095 void scim_bridge_client_imcontext_register_type (GTypeModule *type_module);
00096 
00097 #endif                                            /*SCIMBRIDGECLIENTIMCONTEXTGTK_H_*/

Generated on Tue Sep 26 21:55:59 2006 for ScimBridge by  doxygen 1.4.6