summaryrefslogtreecommitdiff
path: root/ripit.h
diff options
context:
space:
mode:
Diffstat (limited to 'ripit.h')
-rw-r--r--ripit.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/ripit.h b/ripit.h
new file mode 100644
index 0000000..ceedea9
--- /dev/null
+++ b/ripit.h
@@ -0,0 +1,52 @@
+#ifndef __RIPIT_H
+#define __RIPIT_H
+
+#include <vdr/plugin.h>
+#include "i18n.h"
+#include <string>
+#include <vdr/osd.h>
+#include "ripitosd.h"
+
+static const char *VERSION = "0.0.2";
+static const char *DESCRIPTION = "AudioCD ripper";
+static const char *MAINMENUENTRY = "RipIt";
+
+
+class cPluginRipit : public cPlugin {
+ // Add any member variables or functions you may need here.
+private:
+ cRipitOsd *ripitosd;
+public:
+ cPluginRipit(void);
+ virtual ~cPluginRipit();
+ virtual const char *Version(void) { return VERSION; }
+ virtual const char *Description(void) { return tr(DESCRIPTION); }
+ 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);
+#if APIVERSNUM >= 10331
+ virtual const char **SVDRPHelpPages(void);
+ virtual cString SVDRPCommand(const char *Command, const char *Option, int &ReplyCode);
+#endif
+ };
+
+
+
+class cMenuRipitSetup : public cMenuSetupPage {
+private:
+ const char *lowbitrate[10], *maxbitrate[10], *preset[5];
+ virtual void Setup(void);
+protected:
+ virtual void Store(void);
+ virtual eOSState ProcessKey(eKeys Key);
+public:
+ cMenuRipitSetup(void);
+};
+
+#endif // __WEATHERNG_H