From 0da0390b85edf0e27b8c79cd436881d959b1574e Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Sun, 21 Nov 2021 11:31:11 +0100 Subject: PictureFlow: Warn Before Erasing Playlist Respect system-wide setting, in consistence with browser behavior Change-Id: I7df90554a466ed5ca1b99da179cc7d95360499b6 --- 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 e1b7c69f96..6ad495b5a6 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -155,7 +155,7 @@ int plugin_open(const char *plugin, const char *parameter); #define PLUGIN_MAGIC 0x526F634B /* RocK */ /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 245 +#define PLUGIN_API_VERSION 246 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any @@ -928,6 +928,7 @@ struct plugin_api { char* (*plugin_get_current_filename)(void); /* new stuff at the end, sort into place next time the API gets incompatible */ + bool (*warn_on_pl_erase)(void); }; -- cgit v1.2.3