diff options
author | lvw <lvw@e10066b5-e1e2-0310-b819-94efdf66514b> | 2004-10-25 15:22:18 +0000 |
---|---|---|
committer | lvw <lvw@e10066b5-e1e2-0310-b819-94efdf66514b> | 2004-10-25 15:22:18 +0000 |
commit | 3b8d8805276f0df3f90c4a336c7cb5a28b3abd48 (patch) | |
tree | 33f4059cf5cd6e718a37b0ac11c26bde9944111e /muggle-plugin/muggle.c | |
parent | f215a8744d7bdcf82e403d8c9c8d1ef53bb07272 (diff) | |
download | vdr-plugin-muggle-3b8d8805276f0df3f90c4a336c7cb5a28b3abd48.tar.gz vdr-plugin-muggle-3b8d8805276f0df3f90c4a336c7cb5a28b3abd48.tar.bz2 |
Added feature to resume
git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk@243 e10066b5-e1e2-0310-b819-94efdf66514b
Diffstat (limited to 'muggle-plugin/muggle.c')
-rw-r--r-- | muggle-plugin/muggle.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/muggle-plugin/muggle.c b/muggle-plugin/muggle.c index 8a00883..00d747e 100644 --- a/muggle-plugin/muggle.c +++ b/muggle-plugin/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! |