summaryrefslogtreecommitdiff
path: root/upnp.h
diff options
context:
space:
mode:
authorDenis Loh <denis.loh@web.de>2012-09-13 20:01:49 +0200
committerDenis Loh <denis.loh@web.de>2012-09-13 20:01:49 +0200
commit4d808c7f57e7de856154c7d13b6d2dc6501bb6fc (patch)
treefac25d52dae381703533f417cd7f400bc74317e9 /upnp.h
downloadvdr-plugin-upnp-4d808c7f57e7de856154c7d13b6d2dc6501bb6fc.tar.gz
vdr-plugin-upnp-4d808c7f57e7de856154c7d13b6d2dc6501bb6fc.tar.bz2
Initial commit
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_ */