ilimination of system code, removal of x-watcher and replacement of it by dmon, fixes in audio code, dynamic asset reload
This commit is contained in:
@ -3,8 +3,6 @@
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#define FILEWATCH_MODIFIED_TICKS_MERGED 10
|
||||
|
||||
enum FilewatchAction {
|
||||
FILEWATCH_ACTION_FILE_NONE,
|
||||
FILEWATCH_ACTION_FILE_CREATED,
|
||||
@ -14,9 +12,9 @@ enum FilewatchAction {
|
||||
|
||||
typedef void (*FileatchCallback)(char const *path, enum FilewatchAction action);
|
||||
|
||||
bool filewatch_add_directory(char *dir, FileatchCallback callback);
|
||||
bool filewatch_add_directory(char const *dir, FileatchCallback callback);
|
||||
|
||||
bool filewatch_add_file(char *file, FileatchCallback callback);
|
||||
bool filewatch_add_file(char const *file, FileatchCallback callback);
|
||||
|
||||
void filewatch_poll(void);
|
||||
|
||||
|
Reference in New Issue
Block a user