summaryrefslogtreecommitdiff
path: root/gtk/dialogs/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/dialogs/options.h')
-rw-r--r--gtk/dialogs/options.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/gtk/dialogs/options.h b/gtk/dialogs/options.h
new file mode 100644
index 000000000..9f6602593
--- /dev/null
+++ b/gtk/dialogs/options.h
@@ -0,0 +1,34 @@
+/*
+ * Copyright 2006 Rob Kendrick <rjek@rjek.com>
+ * Copyright 2009 Mark Benjamin <netsurf-browser.org.MarkBenjamin@dfgh.net>
+ *
+ * This file is part of NetSurf, http://www.netsurf-browser.org/
+ *
+ * NetSurf is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * NetSurf 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, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef NETSURF_GTK_OPTIONS_H
+#define NETSURF_GTK_OPTIONS_H
+
+#include <gtk/gtk.h>
+
+extern GtkDialog *wndPreferences;
+
+GtkDialog* nsgtk_options_init(struct browser_window *bw, GtkWindow *parent);
+ /** Init options and load window */
+void nsgtk_options_load(void); /** Load current options into window */
+void nsgtk_options_save(void); /** Save options from window */
+bool nsgtk_options_combo_theme_add(const char *themename);
+ /** add new theme name to combo */
+
+#endif