diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/swaynag/config.h | 13 | ||||
-rw-r--r-- | include/swaynag/nagbar.h | 1 |
2 files changed, 14 insertions, 0 deletions
diff --git a/include/swaynag/config.h b/include/swaynag/config.h new file mode 100644 index 00000000..caa32710 --- /dev/null +++ b/include/swaynag/config.h | |||
@@ -0,0 +1,13 @@ | |||
1 | #ifndef _SWAY_NAGBAR_CONFIG_H | ||
2 | #define _SWAY_NAGBAR_CONFIG_H | ||
3 | #include "swaynag/nagbar.h" | ||
4 | #include "list.h" | ||
5 | |||
6 | int nagbar_parse_options(int argc, char **argv, struct sway_nagbar *nagbar, | ||
7 | list_t *types, char **config, bool *debug); | ||
8 | |||
9 | char *nagbar_get_config_path(void); | ||
10 | |||
11 | int nagbar_load_config(char *path, struct sway_nagbar *nagbar, list_t *types); | ||
12 | |||
13 | #endif | ||
diff --git a/include/swaynag/nagbar.h b/include/swaynag/nagbar.h index b5d9b2cb..4ef101e9 100644 --- a/include/swaynag/nagbar.h +++ b/include/swaynag/nagbar.h | |||
@@ -1,6 +1,7 @@ | |||
1 | #ifndef _SWAY_NAGBAR_NAGBAR_H | 1 | #ifndef _SWAY_NAGBAR_NAGBAR_H |
2 | #define _SWAY_NAGBAR_NAGBAR_H | 2 | #define _SWAY_NAGBAR_NAGBAR_H |
3 | #include <stdint.h> | 3 | #include <stdint.h> |
4 | #include <strings.h> | ||
4 | #include "list.h" | 5 | #include "list.h" |
5 | #include "pool-buffer.h" | 6 | #include "pool-buffer.h" |
6 | #include "swaynag/types.h" | 7 | #include "swaynag/types.h" |