added default dir&format settings
[maemo-recorder] / src / settings.h
1 /*
2  * settings.h
3  * GConf settings
4  *
5  * Copyright (C) 2006 Nokia Corporation
6  *
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 version 2 as
10  * published by the Free Software Foundation.
11  *
12  * This program is distributed in the hope that it will be useful, but
13  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15  * for more details.
16  *
17  * You should have received a copy of the GNU General Public License along
18  * with this program; if not, write to the Free Software Foundation, Inc.,
19  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20  *
21  */
22
23 #ifndef _SETTINGS_H
24 #define _SETTINGS_H
25
26 #include <gconf/gconf-client.h>
27 #define RESP_OK     1
28 #define RESP_CANCEL 2
29
30 void edit_settings(GtkWidget* widget, AppData *data);
31
32 gint get_default_filter();
33 void set_default_filter( gint filter );
34         
35 gchar* get_default_dir();
36 void set_default_dir(gchar* selected);
37         
38 GConfClient *init_settings(gint argc, gchar *argv[]);
39
40 #endif // _SETTINGS_H
41