1 /*
2  * Copyright (c) Tony Bybell 2012-2018.
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License
6  * as published by the Free Software Foundation; either version 2
7  * of the License, or (at your option) any later version.
8  */
9 
10 #ifndef WAVE_GCONF_H
11 #define WAVE_GCONF_H
12 
13 #include <gtk/gtk.h>
14 #include <stdlib.h>
15 #include <stdio.h>
16 #include <string.h>
17 
18 #ifdef WAVE_HAVE_GCONF
19 #include <gconf/gconf-client.h>
20 #endif
21 
22 #define WAVE_GSETTINGS_SCHEMA_ID "com.geda.gtkwave"
23 /*                                1234567890123456 */
24 
25 #define WAVE_GCONF_DIR "/com.geda.gtkwave"
26 /*                      12345678901234567 */
27 #define WAVE_GCONF_DIR_LEN (17)
28 
29 extern int wave_rpc_id;
30 
31 void wave_gconf_init(int argc, char **argv);
32 gboolean wave_gconf_client_set_string(const gchar *key, const gchar *val);
33 void wave_gconf_restore(char **dumpfile, char **savefile, char **rcfile, char **wave_pwd, int *opt_vcd);
34 
35 #endif
36