summaryrefslogtreecommitdiff
path: root/src/fe-text/gui-mainwindows.h
diff options
context:
space:
mode:
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