Debian Codegraph @

src/configurator.h

raw
1
2 /*
3 * ConnMan GTK GUI
4 *
5 * Copyright (C) 2015 Intel Corporation. All rights reserved.
6 * Author: Jaakko Hannikainen <[email protected]>
7 *
8 * This program is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation, either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 */
21
22 #ifndef _CONNMAN_GTK_CONFIG_H
23 #define _CONNMAN_GTK_CONFIG_H
24
25 #include "config.h"
26 #include <gtk/gtk.h>
27
28 #if defined(USE_OPENCONNECT) || defined(USE_STATUS_ICON)
29 #define HAVE_CONFIG_SETTINGS 1
30 #endif
31
32 // Enable the status icon, or, minimize to tray on close
33 extern gboolean status_icon_enabled;
34
35 // Launch to tray
36 extern gboolean launch_to_tray;
37
38 // Use fsid with openconnect by default
39 extern gboolean use_fsid;
40
41 // Service name in this hashset -> enable fsid
42 extern GHashTable *openconnect_fsid_table;
43
44 void config_load(GtkApplication *app);
45 void config_window_open(GtkApplication *app, gpointer user_data);
46
47 #endif /* _CONNMAN_GTK_CONFIG_H */