summary refs log tree commit diff stats
path: root/src/gtk2-prefs/main.h
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-07-11 19:46:46 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-07-11 19:46:46 +0200
commit1ea726a91809340451c7a05ede34e7be00ba7863 (patch)
tree936bb6fce5c26b3876a7324ec82ee0bb232875d7 /src/gtk2-prefs/main.h
parentd81619cca95831e2fd444d71cd078201f3db0e39 (diff)
parent9d9c24c8d347aa44efbd63e8f8c8dfb5b3cddedb (diff)
Merge branch 'wdk'
Diffstat (limited to 'src/gtk2-prefs/main.h')
-rw-r--r--src/gtk2-prefs/main.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/gtk2-prefs/main.h b/src/gtk2-prefs/main.h
new file mode 100644
index 00000000..ab4e5cbd
--- /dev/null
+++ b/src/gtk2-prefs/main.h
@@ -0,0 +1,32 @@
+/***************************************************************************
+                          main.cpp  -  description
+                             -------------------
+    begin                : Wed Jan  1 2003
+    copyright            : (C) 2003 - 2005 by Alex Shaduri
+    email                : ashaduri '@' gmail.com
+ ***************************************************************************/
+
+#ifndef _MAIN_H_
+#define _MAIN_H_
+
+
+#include <string>
+
+
+std::string& get_orig_theme();
+std::string& get_orig_font();
+
+std::string get_current_theme();
+std::string get_current_font();
+
+std::string get_selected_theme();
+std::string get_selected_font();
+
+void set_theme(const std::string& theme_name, const std::string& font);
+void apply_theme(const std::string& theme_name, const std::string& font);
+bool save_current_theme();
+
+void program_shutdown();
+
+
+#endif