From ab3e71cad9dbc43eb407e7dc6e287efe0a4f4282 Mon Sep 17 00:00:00 2001 From: Hardeep Sidhu Date: Sun, 4 Jun 2006 16:36:49 +0000 Subject: Added reload_directory() to plugin api and modified text editor and sudoku plugins to call it when saving a new file. Fixes B#5360. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10053 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index 2821bee..de8f267 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -104,7 +104,7 @@ #define PLUGIN_MAGIC 0x526F634B /* RocK */ /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 21 +#define PLUGIN_API_VERSION 22 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any @@ -520,6 +520,7 @@ struct plugin_api { bool (*set_int)(const unsigned char* string, const char* unit, int voice_unit, int* variable, void (*function)(int), int step, int min, int max, void (*formatter)(char*, int, int, const char*) ); + void (*reload_directory)(void); }; /* plugin header */ -- cgit v1.1