]> git.datanom.net - lensdb.git/blob - src/gui.h
Fix collecting lens data
[lensdb.git] / src / gui.h
1 /*
2 * gui.h
3 *
4 * Copyright 2024 Michael Rasmussen <mir@datanom.net>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19 * MA 02110-1301, USA.
20 *
21 *
22 */
23
24 #ifndef __GUI_H__
25 #define __GUI_H__
26
27 #ifdef HAVE_CONFIG_H
28 # include <config.h>
29 #endif
30
31 #include <gtk/gtk.h>
32 #include <glib.h>
33
34 G_BEGIN_DECLS
35
36 enum {
37 COLUMN_DEFAULT_SN,
38 COLUMN_DEFAULT_DATA,
39 COLUMN_DEFAULT_NOTES,
40 COLUMN_DEFAULT_ID,
41 COLUMN_DEFAULT_MAKER,
42 NUM_COLUMNS_DEFAULT
43 };
44
45 enum {
46 COLUMN_SEARCH_MAKER,
47 COLUMN_SEARCH_SN,
48 COLUMN_SEARCH_DATA,
49 COLUMN_SEARCH_NOTES,
50 COLUMN_SEARCH_ID,
51 NUM_COLUMNS_SEARCH
52 };
53
54 gboolean init_gui();
55 void show_err_msg(GtkMessageType type, const gchar* msg);
56
57 G_END_DECLS
58
59 #endif
This page took 0.765096 seconds and 6 git commands to generate.