upload tizen 2.0 beta code
[profile/ivi/isf.git] / ism / extras / gtk_panel / isf_lang_win.h
1 /*
2  * ISF(Input Service Framework)
3  *
4  * ISF is based on SCIM 1.4.7 and extended for supporting more mobile fitable.
5  * Copyright (c) 2000 - 2012 Samsung Electronics Co., Ltd. All rights reserved.
6  *
7  * Contact: Shuo Liu <shuo0805.liu@samsung.com>, Hengliang Luo <hl.luo@samsung.com>
8  *
9  * This library is free software; you can redistribute it and/or modify it under
10  * the terms of the GNU Lesser General Public License as published by the
11  * Free Software Foundation; either version 2.1 of the License, or (at your option)
12  * any later version.
13  *
14  * This library is distributed in the hope that it will be useful, but WITHOUT ANY
15  * WARRANTY; without even the implied warranty of MERCHANTABILITY or
16  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
17  * License for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public License
20  * along with this library; if not, write to the Free Software Foundation, Inc., 51
21  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22  *
23  */
24
25 #if !defined (__ISF_LANG_WIN_H)
26 #define __ISF_LANG_WIN_H
27
28 #include <gtk/gtk.h>
29
30 using namespace scim;
31
32 class ISFLangWin
33 {
34     ISFLangWin (const ISFLangWin &);
35     ISFLangWin & operator = (const ISFLangWin &);
36
37 public:
38     ISFLangWin ();
39     ~ISFLangWin ();
40
41     void show_window (void);
42 private:
43
44     GtkWidget *create_isf_lang_list_view (void);
45     static void on_lang_enable_box_clicked (GtkCellRendererToggle *cell,
46                                             gchar *arg1, gpointer data);
47     static void isf_lang_save_callback (GtkWidget *softkey,
48                                         gpointer   user_data);
49     static void isf_lang_back_callback (GtkWidget *softkey,
50                                         gpointer   user_data);
51
52 };
53
54 #endif // __ISF_LANG_WIN_H
55
56 /*
57 vi:ts=4:ai:nowrap:expandtab
58 */
59