summaryrefslogtreecommitdiff
path: root/src/gui/gui-main.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2007-10-31 17:19:41 +0100
committerSebastien Helleu <flashcode@flashtux.org>2007-10-31 17:19:41 +0100
commit7f90ccd2ad8dc4be4ed0b6471ad8c4315784e334 (patch)
treebbcdc2facc24e917270a20539cd16dc18611151d /src/gui/gui-main.h
parent140623a314260dc77134fe63c3f13db05eb4b20f (diff)
downloadweechat-7f90ccd2ad8dc4be4ed0b6471ad8c4315784e334.zip
Renamed many sources and functions in src/gui, improved display of messages in buffer (faster and using less memory)
Diffstat (limited to 'src/gui/gui-main.h')
-rw-r--r--src/gui/gui-main.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/gui/gui-main.h b/src/gui/gui-main.h
new file mode 100644
index 000000000..f657db0cf
--- /dev/null
+++ b/src/gui/gui-main.h
@@ -0,0 +1,35 @@
+/*
+ * Copyright (c) 2003-2007 by FlashCode <flashcode@flashtux.org>
+ * See README for License detail, AUTHORS for developers list.
+ *
+ * This program 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; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * 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, see <http://www.gnu.org/licenses/>.
+ */
+
+
+#ifndef __WEECHAT_GUI_MAIN_H
+#define __WEECHAT_GUI_MAIN_H 1
+
+/* main variables */
+
+extern int gui_init_ok;
+extern int gui_ok;
+
+/* main functions (GUI dependent) */
+
+extern void gui_main_loop ();
+extern void gui_main_pre_init (int *, char **[]);
+extern void gui_main_init ();
+extern void gui_main_end ();
+
+#endif /* gui-main.h */