1 /*
2  * Xiphos Bible Study Tool
3  * main_menu.h - creation of and call backs for xiphos main menu
4  *
5  * Copyright (C) 2000-2020 Xiphos Developer Team
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU Library General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
20  */
21 
22 #ifndef __MAIN_MENU__H_
23 #define __MAIN_MENU__H_
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 GtkWidget *gui_create_main_menu(void);
30 void gui_parallel_tab_activate(GtkCheckMenuItem *menuitem,
31 			       gpointer user_data);
32 void on_module_manager_activate(GtkMenuItem *menuitem,
33 				gpointer user_data);
34 void on_preferences_activate(GtkMenuItem *menuitem,
35 			     gpointer user_data);
36 void on_help_contents_activate(GtkMenuItem *menuitem,
37 			       gpointer user_data);
38 void on_mailing_list_activate(GtkMenuItem *menuitem,
39 			      gpointer user_data);
40 void on_view_releases_activate(GtkMenuItem *menuitem,
41 			       gpointer user_data);
42 void on_live_chat_activate(GtkMenuItem *menuitem,
43 			   gpointer user_data);
44 void on_report_bug_activate(GtkMenuItem *menuitem,
45 			    gpointer user_data);
46 void on_about_the_sword_project_activate(GtkMenuItem *menuitem,
47 					 gpointer user_data);
48 void on_about_biblesync_activate(GtkMenuItem *menuitem,
49 				 gpointer user_data);
50 void on_about_translation_activate(GtkMenuItem *menuitem,
51 				   gpointer user_data);
52 void on_daily_devotion_activate(GtkMenuItem *menuitem,
53 				gpointer user_data);
54 void on_search_activate(GtkMenuItem *menuitem,
55 			gpointer user_data);
56 void on_linked_tabs_activate(GtkCheckMenuItem *menuitem,
57 			     gpointer user_data);
58 void on_read_aloud_activate(GtkCheckMenuItem *menuitem,
59 			    gpointer user_data);
60 void on_show_verse_numbers_activate(GtkCheckMenuItem *menuitem,
61 				    gpointer user_data);
62 void on_versehighlight_activate(GtkCheckMenuItem *menuitem,
63 				gpointer user_data);
64 void on_side_preview_activate(GtkCheckMenuItem *menuitem,
65 			      gpointer user_data);
66 void on_quit_activate(GtkMenuItem *menuitem, gpointer user_data);
67 void on_about_xiphos_activate(GtkMenuItem *menuitem,
68 			      gpointer user_data);
69 void on_save_session_activate(GtkMenuItem *menuitem,
70 			      gpointer user_data);
71 void redisplay_to_realign(void);
72 void on_open_session_activate(GtkMenuItem *menuitem,
73 			      gpointer user_data);
74 void on_show_bible_text_activate(GtkCheckMenuItem *menuitem,
75 				 gpointer user_data);
76 void on_preview_activate(GtkCheckMenuItem *menuitem,
77 			 gpointer user_data);
78 void on_show_commentary_activate(GtkCheckMenuItem *menuitem,
79 				 gpointer user_data);
80 void on_show_dictionary_lexicon_activate(GtkCheckMenuItem *
81 					     menuitem,
82 					 gpointer user_data);
83 void on_open_studypad_activate(GtkMenuItem *menuitem,
84 			       gpointer user_data);
85 void on_advanced_search_activate(GtkMenuItem *menuitem,
86 				 gpointer user_data);
87 void on_attach_detach_sidebar_activate(GtkMenuItem *menuitem,
88 				       gpointer user_data);
89 void on_sidebar_showhide_activate(GtkMenuItem *menuitem,
90 				  gpointer user_data);
91 void link_uri_hook(GtkLinkButton *button, const gchar *link,
92 		   gpointer user_data);
93 
94 #ifdef __cplusplus
95 }
96 #endif
97 #endif
98