summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2021-11-21 11:31:11 +0100
committerSolomon Peachy <pizza@shaftnet.org>2021-12-02 17:37:15 -0500
commit0da0390b85edf0e27b8c79cd436881d959b1574e (patch)
treee471d284154daba2bf43793314f46e821053143e /apps/plugin.h
parent2512ed1c56a7c415f5a13ac2f38f72278e3ac660 (diff)
downloadrockbox-0da0390b85edf0e27b8c79cd436881d959b1574e.tar.gz
rockbox-0da0390b85edf0e27b8c79cd436881d959b1574e.zip
PictureFlow: Warn Before Erasing Playlist
Respect system-wide setting, in consistence with browser behavior Change-Id: I7df90554a466ed5ca1b99da179cc7d95360499b6
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index e1b7c69f96..6ad495b5a6 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -155,7 +155,7 @@ int plugin_open(const char *plugin, const char *parameter);
155#define PLUGIN_MAGIC 0x526F634B /* RocK */ 155#define PLUGIN_MAGIC 0x526F634B /* RocK */
156 156
157/* increase this every time the api struct changes */ 157/* increase this every time the api struct changes */
158#define PLUGIN_API_VERSION 245 158#define PLUGIN_API_VERSION 246
159 159
160/* update this to latest version if a change to the api struct breaks 160/* update this to latest version if a change to the api struct breaks
161 backwards compatibility (and please take the opportunity to sort in any 161 backwards compatibility (and please take the opportunity to sort in any
@@ -928,6 +928,7 @@ struct plugin_api {
928 char* (*plugin_get_current_filename)(void); 928 char* (*plugin_get_current_filename)(void);
929 /* new stuff at the end, sort into place next time 929 /* new stuff at the end, sort into place next time
930 the API gets incompatible */ 930 the API gets incompatible */
931 bool (*warn_on_pl_erase)(void);
931 932
932}; 933};
933 934