summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2004-06-16 19:35:20 +0000
committerBjörn Stenberg <bjorn@haxx.se>2004-06-16 19:35:20 +0000
commitc05b7d722ad15fe3720f86b21af05e9a9cd18b8f (patch)
treed00f0760367ab20f32420d0237a59cbd5feff5f6 /apps/plugin.h
parent6b18acd5d8ee82d3b16a2ca35daf5be2af5a15cb (diff)
downloadrockbox-c05b7d722ad15fe3720f86b21af05e9a9cd18b8f.zip
rockbox-c05b7d722ad15fe3720f86b21af05e9a9cd18b8f.tar.gz
rockbox-c05b7d722ad15fe3720f86b21af05e9a9cd18b8f.tar.bz2
rockbox-c05b7d722ad15fe3720f86b21af05e9a9cd18b8f.tar.xz
Added set_time()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4758 a1c6a512-1295-4272-9138-f99709370657
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 56a0ef6..33112bb 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -56,7 +56,7 @@
#endif
/* increase this every time the api struct changes */
-#define PLUGIN_API_VERSION 15
+#define PLUGIN_API_VERSION 16
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
@@ -266,6 +266,7 @@ struct plugin_api {
#endif
#endif
int (*battery_level)(void);
+ int (*set_time)(struct tm *tm);
};
/* defined by the plugin loader (plugin.c) */