utils.h 364 Bytes
Newer Older
Moritz Lipp's avatar
Moritz Lipp committed
1
/* See LICENSE file for license and copyright information */
2
3
4
5

#ifndef UTILS_H
#define UTILS_H

Moritz Lipp's avatar
Moritz Lipp committed
6
#include <stdbool.h>
Moritz Lipp's avatar
Moritz Lipp committed
7
#include <gtk/gtk.h>
Moritz Lipp's avatar
Moritz Lipp committed
8
9
10

bool file_exists(const char* path);
const char* file_get_extension(const char* path);
11
bool execute_command(char* const argv[], char** output);
12
GtkWidget* page_blank(unsigned int width, unsigned int height);
Moritz Lipp's avatar
Moritz Lipp committed
13

14
#endif // UTILS_H