summaryrefslogtreecommitdiff
path: root/muggle.c
diff options
context:
space:
mode:
Diffstat (limited to 'muggle.c')
-rw-r--r--muggle.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/muggle.c b/muggle.c
index 8a00883..00d747e 100644
--- a/muggle.c
+++ b/muggle.c
@@ -26,6 +26,7 @@ static const char *VERSION = "0.0.8";
static const char *DESCRIPTION = "Media juggle plugin for VDR";
static const char *MAINMENUENTRY = "Muggle";
+static unsigned s_resume_idx = 0;
const char* mgMuggle::Version(void)
{
@@ -215,4 +216,15 @@ bool mgMuggle::SetupParse(const char *Name, const char *Value)
return true;
}
+
+static void mgMuggle::setResumeIndex( unsigned index )
+{
+ s_resume_idx = index;
+}
+
+static unsigned mgMuggle::getResumeIndex( )
+{
+ return s_resume_idx;
+}
+
VDRPLUGINCREATOR(mgMuggle); // Don't touch this!