summaryrefslogtreecommitdiffstats
path: root/gtk/src/plist.h
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2008-09-02 22:56:19 +0000
committerjstebbins <[email protected]>2008-09-02 22:56:19 +0000
commit45cabbfe4ab8b95b5f25a236f8c93b64d3ccf8df (patch)
tree40326771d4a7f4721363e3b76ebfca5329595deb /gtk/src/plist.h
parentfd744170cb1da2675e1168402866f5c20f08a726 (diff)
LinGui: Presets and preferences are now stored as plists
This will also make saving/restoring the queue much easier. It's a scary big change. 1400 new lines of code. Due to efficiencies of a better desing, 2400 lines of old code also gets refactored down to 1600. Giving a final net +600 lines. Along the way, I stumbled across a couple bugs and fixed them. Chapter list entry would get wedged under certain circumstances. Pausing encoding didn't display pause message in status bar. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1662 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/plist.h')
-rw-r--r--gtk/src/plist.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/gtk/src/plist.h b/gtk/src/plist.h
new file mode 100644
index 000000000..8b2498826
--- /dev/null
+++ b/gtk/src/plist.h
@@ -0,0 +1,14 @@
+#if !defined(_PLIST_H_)
+#define _PLIST_H_
+
+#include <stdio.h>
+#include <glib.h>
+#include <glib-object.h>
+
+GValue* ghb_plist_parse(const gchar *buf, gssize len);
+GValue* ghb_plist_parse_file(const gchar *filename);
+void ghb_plist_write(FILE *file, GValue *gval);
+void ghb_plist_write_file(const gchar *filename, GValue *gval);
+
+#endif // _PLIST_H_
+