summaryrefslogtreecommitdiff
path: root/plugin.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-01-30 14:23:01 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-01-30 14:23:01 +0100
commit2bec1d5ca0aad0bc18d99ed33c1b1ce443abb699 (patch)
tree744c9c05dd6ed3922174a93ed515581e64bc4dfd /plugin.h
parenta430f64252f5b38bb19dc151c3793d66d64a8fb7 (diff)
downloadvdr-2bec1d5ca0aad0bc18d99ed33c1b1ce443abb699.tar.gz
vdr-2bec1d5ca0aad0bc18d99ed33c1b1ce443abb699.tar.bz2
Added cPlugin::Stop()
Diffstat (limited to 'plugin.h')
-rw-r--r--plugin.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugin.h b/plugin.h
index 2d1cf5d0..3d56b175 100644
--- a/plugin.h
+++ b/plugin.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: plugin.h 1.7 2004/04/30 13:46:21 kls Exp $
+ * $Id: plugin.h 1.8 2005/01/30 14:03:48 kls Exp $
*/
#ifndef __PLUGIN_H
@@ -19,9 +19,11 @@
class cPlugin {
friend class cDll;
+ friend class cPluginManager;
private:
static char *configDirectory;
const char *name;
+ bool started;
void SetName(const char *s);
public:
cPlugin(void);
@@ -35,6 +37,7 @@ public:
virtual bool ProcessArgs(int argc, char *argv[]);
virtual bool Initialize(void);
virtual bool Start(void);
+ virtual void Stop(void);
virtual void Housekeeping(void);
virtual const char *MainMenuEntry(void);
@@ -85,7 +88,8 @@ public:
static bool HasPlugins(void);
static cPlugin *GetPlugin(int Index);
static cPlugin *GetPlugin(const char *Name);
- void Shutdown(bool Log = false);
+ void StopPlugins(void);
+ void Shutdown(void);
};
#endif //__PLUGIN_H