/*
* Copyright (C) 2019 Scoopta
* This file is part of Wofi
* Wofi 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.
Wofi 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 Wofi. If not, see .
*/
#ifndef WAIFU_H
#define WAIFU_H
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
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();
bool wofi_run_in_term();
void wofi_term_run(const char* cmd);
#endif