239
by Osmo Antero
Moving to GPL3 license. All src/*.c should now comply to GPL3. |
1 |
#ifndef _DCONF_H__
|
2 |
#define _DCONF_H__
|
|
69
by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2 |
3 |
|
4 |
#include <glib.h> |
|
5 |
#include <gdk/gdk.h> |
|
6 |
||
7 |
#if 0
|
|
8 |
#include <gconf/gconf-client.h>
|
|
9 |
#endif
|
|
10 |
||
227
by Osmo Antero
Small fix in main.c (run_simple_command()). |
11 |
// The main configuration schema for this application
|
12 |
#define APPLICATION_SETTINGS_SCHEMA "org.gnome.audio-recorder"
|
|
13 |
||
469
by Osmo Antero
audio-recorder --reset did not always work because GSettings registry was not flushed immediately. |
14 |
void conf_flush_settings(); |
15 |
||
69
by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2 |
16 |
void conf_get_boolean_value(gchar *key, gboolean *value); |
17 |
void conf_get_int_value(gchar *key, gint *value); |
|
18 |
void conf_get_string_value(gchar *key, gchar **value); |
|
19 |
void conf_get_string_list(gchar *key, GList **list); |
|
404
by Osmo Antero
Removed dependency to libpulse-dev. Using now Gstreamer to get the device list. Completed src/win-settings-pipe.[ch] module. |
20 |
void conf_get_variant_value(gchar *key, GVariant **var); |
69
by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2 |
21 |
|
22 |
void conf_save_boolean_value(gchar *key, gboolean value); |
|
23 |
void conf_save_int_value(gchar *key, gint value); |
|
24 |
void conf_save_string_value(gchar *key, gchar *value); |
|
25 |
void conf_save_string_list(gchar *key, GList *list); |
|
404
by Osmo Antero
Removed dependency to libpulse-dev. Using now Gstreamer to get the device list. Completed src/win-settings-pipe.[ch] module. |
26 |
void conf_save_variant(gchar *key, GVariant *var); |
69
by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2 |
27 |
|
28 |
#endif
|
|
29 |