add new file
[mim] / src / mim / dbus-callback.h
1 #ifndef DBUS_CALLBACK_H_
2 #define DBUS_CALLBACK_H_
3
4 #include <glib.h>
5 #include <dbus/dbus.h>
6
7 DBusConnection *connection;
8 typedef struct composition{
9         gchar *unparsed;
10         gchar str_list[20][10];
11         gint  start_point;
12         gboolean En_Ch_Flag;
13 }Composition;
14
15 void get_ui_string(DBusMessage *message, DBusConnection *connection);
16
17 static void seg_string(Composition composition);
18
19 static void match_string(Composition composition, gint i);
20
21 static void send_ch_string(gchar *ch_string);
22
23 void user_select_cb(DBusMessage *message);
24
25 void backspace_key_cb();
26
27 void priv_click_cb();
28
29 void next_click_cb();
30
31 void space_key_cb();
32
33 void enter_key_cb();
34
35 #endif /*DBUS_CALLBACK_H_*/
36