diff options
author | Hardeep Sidhu <dyp@pobox.com> | 2006-06-04 16:36:49 +0000 |
---|---|---|
committer | Hardeep Sidhu <dyp@pobox.com> | 2006-06-04 16:36:49 +0000 |
commit | ab3e71cad9dbc43eb407e7dc6e287efe0a4f4282 (patch) | |
tree | bc68c628f64780ca48ba448757c8dccb290267e4 /apps/plugin.h | |
parent | ae4560f3881e1220722072be450fe30cf688f5f9 (diff) | |
download | rockbox-ab3e71cad9dbc43eb407e7dc6e287efe0a4f4282.tar.gz rockbox-ab3e71cad9dbc43eb407e7dc6e287efe0a4f4282.zip |
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
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 2821beeab9..de8f267ec8 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -104,7 +104,7 @@ | |||
104 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ | 104 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ |
105 | 105 | ||
106 | /* increase this every time the api struct changes */ | 106 | /* increase this every time the api struct changes */ |
107 | #define PLUGIN_API_VERSION 21 | 107 | #define PLUGIN_API_VERSION 22 |
108 | 108 | ||
109 | /* update this to latest version if a change to the api struct breaks | 109 | /* update this to latest version if a change to the api struct breaks |
110 | backwards compatibility (and please take the opportunity to sort in any | 110 | backwards compatibility (and please take the opportunity to sort in any |
@@ -520,6 +520,7 @@ struct plugin_api { | |||
520 | bool (*set_int)(const unsigned char* string, const char* unit, int voice_unit, | 520 | bool (*set_int)(const unsigned char* string, const char* unit, int voice_unit, |
521 | int* variable, void (*function)(int), int step, int min, | 521 | int* variable, void (*function)(int), int step, int min, |
522 | int max, void (*formatter)(char*, int, int, const char*) ); | 522 | int max, void (*formatter)(char*, int, int, const char*) ); |
523 | void (*reload_directory)(void); | ||
523 | }; | 524 | }; |
524 | 525 | ||
525 | /* plugin header */ | 526 | /* plugin header */ |