added default dir&format settings
[maemo-recorder] / src / settings.h
diff --git a/src/settings.h b/src/settings.h
new file mode 100755 (executable)
index 0000000..026175c
--- /dev/null
@@ -0,0 +1,41 @@
+/*
+ * settings.h
+ * GConf settings
+ *
+ * Copyright (C) 2006 Nokia Corporation
+ *
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+
+#ifndef _SETTINGS_H
+#define _SETTINGS_H
+
+#include <gconf/gconf-client.h>
+#define RESP_OK     1
+#define RESP_CANCEL 2
+
+void edit_settings(GtkWidget* widget, AppData *data);
+
+gint get_default_filter();
+void set_default_filter( gint filter );
+       
+gchar* get_default_dir();
+void set_default_dir(gchar* selected);
+       
+GConfClient *init_settings(gint argc, gchar *argv[]);
+
+#endif // _SETTINGS_H
+