1 /*
2  * Xiphos Bible Study Tool
3  * lists.h glists of module names and descriptions, bible books etc.
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 _LISTS_H
23 #define _LISTS_H
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 #include <gtk/gtk.h>
30 
31 typedef struct _module_lists MOD_LISTS;
32 struct _module_lists
33 {
34 	GList *biblemods,
35 	    *commentarymods,
36 	    *dictionarymods,
37 	    *bookmods,
38 	    *percommods,
39 	    *devotionmods,
40 	    *prayermods,
41 	    *imagemods,
42 	    *mapmods,
43 	    *text_descriptions,
44 	    *dict_descriptions,
45 	    *comm_descriptions,
46 	    *book_descriptions, *prayer_descriptions, *options;
47 };
48 
49 /* list types */
50 #define TEXT_LIST 0
51 #define TEXT_DESC_LIST 1
52 #define COMM_LIST 2
53 #define COMM_DESC_LIST 3
54 #define DICT_LIST 4
55 #define DICT_DESC_LIST 5
56 #define GBS_LIST 6
57 #define GBS_DESC_LIST 7
58 #define PRAYER_LIST 8
59 #define OPTIONS_LIST 9
60 #define PERCOMM_LIST 10
61 #define DEVOTION_LIST 11
62 #define MAP_LIST 12
63 #define IMAGE_LIST 13
64 
65 GList *get_list(gint type);
66 void main_init_lists(void);
67 void main_shutdown_list(void);
68 
69 #ifdef __cplusplus
70 }
71 #endif
72 #endif
73