Modularized modes and separated them into their own source files

This commit is contained in:
Scoopta
2019-09-13 00:25:25 -07:00
parent 323af30d68
commit 117868a033
14 changed files with 413 additions and 203 deletions

View File

@@ -22,6 +22,7 @@
#include <config.h>
#include <property_box.h>
#include <dlfcn.h>
#include <errno.h>
#include <stddef.h>
#include <string.h>
@@ -35,5 +36,18 @@
#include <wayland-client.h>
#include <wlr-layer-shell-unstable-v1-client-protocol.h>
struct cache_line {
char* line;
struct wl_list link;
};
void wofi_init(struct map* config);
struct wl_list* wofi_read_cache(char* mode);
void wofi_insert_widget(char* text, char* action);
bool wofi_allow_images();
uint64_t wofi_get_image_size();
#endif