From c05b7d722ad15fe3720f86b21af05e9a9cd18b8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Stenberg?= Date: Wed, 16 Jun 2004 19:35:20 +0000 Subject: Added set_time() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4758 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.c | 1 + apps/plugin.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/plugin.c b/apps/plugin.c index 9354fab..dff4d6b 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -232,6 +232,7 @@ static struct plugin_api rockbox_api = { #endif #endif battery_level, + set_time, }; int plugin_load(char* plugin, void* parameter) 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) */ -- cgit v1.1