diff options
author | LarsAC <LarsAC@e10066b5-e1e2-0310-b819-94efdf66514b> | 2004-02-12 09:15:07 +0000 |
---|---|---|
committer | LarsAC <LarsAC@e10066b5-e1e2-0310-b819-94efdf66514b> | 2004-02-12 09:15:07 +0000 |
commit | 368bacb21c6d0c57c0066ae67c88810b6a79b58d (patch) | |
tree | 789cfb6855f86309856abd8c4825cbe55c652c8e /sh_plugin.h | |
parent | 13414776db3ca8457acef6b3466720507c191946 (diff) | |
download | vdr-plugin-muggle-368bacb21c6d0c57c0066ae67c88810b6a79b58d.tar.gz vdr-plugin-muggle-368bacb21c6d0c57c0066ae67c88810b6a79b58d.tar.bz2 |
Moved filter classes into separate files
git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk/muggle-plugin@40 e10066b5-e1e2-0310-b819-94efdf66514b
Diffstat (limited to 'sh_plugin.h')
-rw-r--r-- | sh_plugin.h | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/sh_plugin.h b/sh_plugin.h deleted file mode 100644 index 2bf7bcb..0000000 --- a/sh_plugin.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * plugin.h: The VDR plugin interface - * - * See the main source file 'vdr.c' for copyright information and - * how to reach the author. - * - * $Id: sh_plugin.h,v 1.1 2004/02/01 18:22:53 LarsAC Exp $ - */ - -#ifndef __PLUGIN_H -#define __PLUGIN_H - -#include "myosd.h" -#include "mymenuitems.h" -typedef cOsdMenu cOsdObject; -#define VDRPLUGINCREATOR(PluginClass) extern "C" void *VDRPluginCreator(void) { return new PluginClass; } - -class cPlugin { -private: - static char *configDirectory; - const char *name; - void SetName(const char *s); -public: - cPlugin(void); - virtual ~cPlugin(); - - const char *Name(void) { return name; } - virtual const char *Version(void) = 0; - virtual const char *Description(void) = 0; - virtual const char *CommandLineHelp(void); - - virtual bool ProcessArgs(int argc, char *argv[]); - virtual bool Initialize(void); - virtual bool Start(void); - virtual void Housekeeping(void); - - virtual const char *MainMenuEntry(void); - virtual cOsdObject *MainMenuAction(void); - - virtual cMenuSetupPage *SetupMenu(void); - - virtual bool SetupParse(const char *Name, const char *Value); - - }; - -#endif //__PLUGIN_H |