summaryrefslogtreecommitdiff
path: root/src/gui/curses/gui-curses-main.h
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-03-16 22:04:18 +0100
committerSébastien Helleu <flashcode@flashtux.org>2023-03-17 18:52:30 +0100
commit3640d187b8ea37dfb433ce75902f68f4d3f7cd75 (patch)
treec14dc7645ceca8fbffe9b2907d202542ee3583a0 /src/gui/curses/gui-curses-main.h
parent313b40235ac5f4a5bef4e27a9d2b8331e6b0c8ac (diff)
downloadweechat-3640d187b8ea37dfb433ce75902f68f4d3f7cd75.zip
core: split gui-curses.h into multiple headers
Diffstat (limited to 'src/gui/curses/gui-curses-main.h')
-rw-r--r--src/gui/curses/gui-curses-main.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/gui/curses/gui-curses-main.h b/src/gui/curses/gui-curses-main.h
new file mode 100644
index 000000000..4520b0ece
--- /dev/null
+++ b/src/gui/curses/gui-curses-main.h
@@ -0,0 +1,28 @@
+/*
+ * Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
+ *
+ * This file is part of WeeChat, the extensible chat client.
+ *
+ * WeeChat 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.
+ *
+ * WeeChat 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 WeeChat. If not, see <https://www.gnu.org/licenses/>.
+ */
+
+#ifndef WEECHAT_GUI_CURSES_MAIN_H
+#define WEECHAT_GUI_CURSES_MAIN_H
+
+extern int gui_term_cols, gui_term_lines;
+
+extern void gui_main_init ();
+extern void gui_main_loop ();
+
+#endif /* WEECHAT_GUI_CURSES_MAIN_H */