summaryrefslogtreecommitdiff
path: root/src/fe-text/gui-mainwindows.h
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-04-26 08:03:38 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-04-26 08:03:38 +0000
commitc95034c6de1bf72536595e1e3431d8ec64b9880e (patch)
treee51aa4528257ed8aa9d53640649519f299aaf0c7 /src/fe-text/gui-mainwindows.h
parentd01b094151705d433bc43cae9eeb304e6f110a17 (diff)
downloadirssi-c95034c6de1bf72536595e1e3431d8ec64b9880e.zip
..adding new files..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@171 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/gui-mainwindows.h')
-rw-r--r--src/fe-text/gui-mainwindows.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/fe-text/gui-mainwindows.h b/src/fe-text/gui-mainwindows.h
new file mode 100644
index 00000000..b91f35a9
--- /dev/null
+++ b/src/fe-text/gui-mainwindows.h
@@ -0,0 +1,21 @@
+#ifndef __GUI_MAINWINDOWS_H
+#define __GUI_MAINWINDOWS_H
+
+#include "windows.h"
+
+typedef struct {
+ WINDOW_REC *active;
+ GList *children;
+
+ int destroying;
+} MAIN_WINDOW_REC;
+
+extern GList *mainwindows;
+
+void gui_mainwindows_init(void);
+void gui_mainwindows_deinit(void);
+
+MAIN_WINDOW_REC *gui_mainwindow_create(void);
+void gui_mainwindow_destroy(MAIN_WINDOW_REC *window);
+
+#endif