summaryrefslogtreecommitdiff
path: root/markad.h
diff options
context:
space:
mode:
Diffstat (limited to 'markad.h')
-rw-r--r--markad.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/markad.h b/markad.h
new file mode 100644
index 0000000..f1b40e8
--- /dev/null
+++ b/markad.h
@@ -0,0 +1,45 @@
+
+/*
+ * markad.h: A plugin for the Video Disk Recorder
+ *
+ * See the README file for copyright information and how to reach the author.
+ *
+ * $Id$
+ */
+
+#ifndef __markad_h_
+#define __markad_h_
+
+#include "status.h"
+
+static const char *VERSION = "0.0.3";
+static const char *DESCRIPTION = trNOOP("Mark advertisements");
+
+class cPluginMarkAd : public cPlugin {
+private:
+ // Add any member variables or functions you may need here.
+ cStatusMarkAd *statusMonitor;
+public:
+ cPluginMarkAd(void);
+ virtual ~cPluginMarkAd();
+ virtual const char *Version(void) { return VERSION; }
+ virtual const char *Description(void) { return DESCRIPTION; }
+ virtual const char *CommandLineHelp(void);
+ virtual bool ProcessArgs(int argc, char *argv[]);
+ virtual bool Initialize(void);
+ virtual bool Start(void);
+ virtual void Stop(void);
+ virtual void Housekeeping(void);
+ virtual void MainThreadHook(void);
+ virtual cString Active(void);
+ virtual time_t WakeupTime(void);
+ virtual const char *MainMenuEntry(void);
+ virtual cOsdObject *MainMenuAction(void);
+ virtual cMenuSetupPage *SetupMenu(void);
+ virtual bool SetupParse(const char *Name, const char *Value);
+ virtual bool Service(const char *Id, void *Data = NULL);
+ virtual const char **SVDRPHelpPages(void);
+ virtual cString SVDRPCommand(const char *Command, const char *Option, int &ReplyCode);
+ };
+
+#endif