summaryrefslogtreecommitdiffstats
path: root/src/lassi-prefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lassi-prefs.h')
-rw-r--r--src/lassi-prefs.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/lassi-prefs.h b/src/lassi-prefs.h
new file mode 100644
index 0000000..a948709
--- /dev/null
+++ b/src/lassi-prefs.h
@@ -0,0 +1,29 @@
+#ifndef foolassiprefshfoo
+#define foolassiprefshfoo
+
+#include <gtk/gtk.h>
+#include <glade/glade-xml.h>
+
+typedef struct LassiPrefsInfo LassiPrefsInfo;
+struct LassiServer;
+
+struct LassiPrefsInfo {
+ struct LassiServer *server;
+
+ GtkWidget *dialog;
+ GtkWidget *up_button, *down_button, *add_button, *remove_button;
+ GtkWidget *tree_view;
+
+ GtkListStore *list_store;
+
+ GladeXML *xml;
+};
+
+#include "lassi-server.h"
+
+int lassi_prefs_init(LassiPrefsInfo *i, LassiServer *server);
+void lassi_prefs_show(LassiPrefsInfo *i);
+void lassi_prefs_update(LassiPrefsInfo *i);
+void lassi_prefs_done(LassiPrefsInfo *i);
+
+#endif