summaryrefslogtreecommitdiff
path: root/upnp.h
diff options
context:
space:
mode:
Diffstat (limited to 'upnp.h')
-rw-r--r--upnp.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/upnp.h b/upnp.h
new file mode 100644
index 0000000..a2d54de
--- /dev/null
+++ b/upnp.h
@@ -0,0 +1,41 @@
+/*
+ * upnp.h
+ *
+ * Created on: 31.07.2012
+ * Author: savop
+ */
+
+#ifndef UPNP_H_
+#define UPNP_H_
+
+#include <vdr/plugin.h>
+#include "include/server.h"
+
+using namespace upnp;
+
+static const char *VERSION = "0.0.1";
+static const char *DESCRIPTION = "UPnP/DLNA compliant Media Server functionality for VDR";
+
+class cPluginUpnp : public cPlugin {
+private:
+ // Add any member variables or functions you may need here.
+ cMediaServer* mMediaServer;
+public:
+ cPluginUpnp(void);
+ virtual ~cPluginUpnp();
+ 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 cMenuSetupPage *SetupMenu(void);
+ virtual bool SetupParse(const char *Name, const char *Value);
+};
+
+
+#endif /* UPNP_H_ */