working with .bzip files - gui modifications
[mdictionary] / src / gui / include / ws_gui_layout.h
1 /*******************************************************************************
2 This file is part of WhiteStork.
3
4 WhiteStork is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
8
9 WhiteStork is distributed in the hope that it will be useful, 
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License 
15 along with WhiteStork; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17
18 Copyright 2006 ComArch S.A.
19 *******************************************************************************/
20 #ifndef _WS_GUI_LAYOUT
21 #define _WS_GUI_LAYOUT
22
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26
27 #include <ws_gui.h>
28 #include <ws_gui_callbacks.h>
29
30 /**
31 * \brief create main window
32 *
33 */
34 void ws_gui_create_window(gpointer user_data);
35
36 /**
37 * \brief create find toolbar
38 *
39 */
40 void ws_gui_create_find_toolbar(gpointer user_data);
41
42 /**
43 * \brief create application menu
44 *
45 */
46 void ws_gui_create_main_menu (gpointer user_data);
47
48 /**
49 * \brief create popup menu
50 *
51 */
52 void ws_gui_create_popup_menu (gpointer user_data);
53
54 /** 
55  * \brief select dictionaries to use
56  *
57  */
58 void ws_gui_dictionary_chooser(GtkMenuItem *menuitem, gpointer user_data);
59
60 /** 
61  * \brief load new dictionary files
62  *
63  */
64 void ws_gui_dictionary_loader(GtkMenuItem *menuitem, gpointer user_data);
65
66 /** 
67  * \brief load dictionary file using given filename
68  *
69  */
70 gboolean ws_gui_load_dict(gchar *filename, gpointer user_data);
71
72 /** 
73  * \brief remove dictionary from application
74  *
75  */
76 void ws_gui_dictionary_remover(GtkMenuItem *menuitem, gpointer user_data);
77
78 /** 
79  * \brief optimize dictionaries
80  *
81  */
82 void ws_gui_dictionary_optimizer(GtkMenuItem *menuitem, gpointer user_data);
83
84 /** 
85  * \brief open bookmark window
86  *
87  */
88 void ws_gui_dictionary_open_bookmark(GtkMenuItem *menuitem, gpointer user_data);
89
90 /** 
91  * \brief close bookmark window
92  *
93  */
94 void ws_gui_dictionary_close_bookmark(GtkMenuItem *menuitem, 
95                                       gpointer user_data);
96
97 /** 
98  * \brief add bookmark to bookmarks database
99  *
100  */
101 void ws_gui_dictionary_add_bookmark(GtkMenuItem *menuitem, gpointer user_data);
102
103 /** 
104  * \brief remove bookmark from database
105  *
106  */
107 void ws_gui_dictionary_remove_bookmark(GtkMenuItem *menuitem, 
108                                        gpointer user_data);
109
110 /** 
111  * \brief display information about application
112  *
113  */
114 void ws_gui_about_application(GtkMenuItem *menuitem, gpointer user_data);
115
116 /** 
117  * \brief creates Add Bookmark dialog window
118  *
119  */
120 void ws_gui_add_bookmark_dialog(gpointer user_data);
121
122 /** 
123  * \brief creates Remove Bookmark dialog window
124  *
125  */
126 void ws_gui_remove_bookmark_dialog(gpointer user_data);
127
128 #ifdef __cplusplus
129 }
130 #endif
131
132 #endif