2010-11-10 20:31:15 +01:00
|
|
|
/* See LICENSE file for license and copyright information */
|
2010-11-10 20:47:53 +01:00
|
|
|
|
|
|
|
#ifndef UTILS_H
|
|
|
|
#define UTILS_H
|
|
|
|
|
2010-11-18 02:35:33 +01:00
|
|
|
#include <stdbool.h>
|
2010-12-28 09:47:09 +01:00
|
|
|
#include <gtk/gtk.h>
|
2010-11-18 02:35:33 +01:00
|
|
|
|
|
|
|
bool file_exists(const char* path);
|
|
|
|
const char* file_get_extension(const char* path);
|
2010-11-29 14:58:56 +01:00
|
|
|
bool execute_command(char* const argv[], char** output);
|
2010-12-29 11:46:13 +01:00
|
|
|
GtkWidget* page_blank(unsigned int width, unsigned int height);
|
2010-11-18 02:35:33 +01:00
|
|
|
|
2010-11-10 20:47:53 +01:00
|
|
|
#endif // UTILS_H
|