| 1 | /** |
| 2 | * This file is part of devilspie2 |
| 3 | * Copyright (C) 2013-2017 Andreas Rönnquist |
| 4 | * |
| 5 | * devilspie2 is free software: you can redistribute it and/or |
| 6 | * modify it under the terms of the GNU General Public License as published |
| 7 | * by the Free Software Foundation, either version 3 of the License, or |
| 8 | * (at your option) any later version. |
| 9 | * |
| 10 | * devilspie2 is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with devilspie2. |
| 17 | * If not, see <http://www.gnu.org/licenses/>. |
| 18 | */ |
| 19 | #ifndef __HEADER_CONFIG_ |
| 20 | #define __HEADER_CONFIG_ |
| 21 | |
| 22 | /** |
| 23 | * |
| 24 | */ |
| 25 | int load_config(gchar *config_filename); |
| 26 | |
| 27 | void clear_file_lists(); |
| 28 | |
| 29 | typedef enum { |
| 30 | W_OPEN, |
| 31 | W_CLOSE, |
| 32 | W_FOCUS, |
| 33 | W_BLUR, |
| 34 | W_NUM_EVENTS /* keep this at the end */ |
| 35 | } win_event_type; |
| 36 | |
| 37 | extern GSList *event_lists[W_NUM_EVENTS]; |
| 38 | extern const char *event_names[W_NUM_EVENTS]; |
| 39 | |
| 40 | // Our git version which is defined through some magic in the build system |
| 41 | extern const char *gitversion; |
| 42 | |
| 43 | #endif /*__HEADER_CONFIG_*/ |