changed author email
[guish.git] / src / main.h
blobe0d9bbded9df03cc08fc3a5dfeb4a37aaeb78758
1 /*************************************************************************
2 * Copyright (C) 2024 Francesco Palumbo <phranz.dev@gmail.com>, Naples (Italy)
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
16 *************************************************************************/
18 #ifndef MAIN_H
19 #define MAIN_H
21 #define SHOW_ON_CREATE (1)
22 #define QUIT_ON_LAST_CLOSED (1<<1)
23 #define FALLBACK_ON_TTY (1<<2)
24 #define KILL_EXTS_ON_QUIT (1<<3)
26 #define BSIZ 256
28 #define MAXWIDWAIT 3
30 #ifdef ENABLE_X11
31 void x11_init();
32 void process_events();
33 void poll_and_process_events(int);
34 #endif
36 #endif