summaryrefslogtreecommitdiff
path: root/upnp.h
diff options
context:
space:
mode:
authorDenis Loh <denis.loh@gmail.com>2009-10-24 14:24:17 +0200
committerDenis Loh <denis.loh@gmail.com>2009-10-24 14:24:17 +0200
commit1cf955a715830130b7add8c1183d65b0f442fd23 (patch)
treec9d03961e9f83b1100ef6010a4a53063f127aa5d /upnp.h
downloadvdr-plugin-upnp-1cf955a715830130b7add8c1183d65b0f442fd23.tar.gz
vdr-plugin-upnp-1cf955a715830130b7add8c1183d65b0f442fd23.tar.bz2
Initial commit
Diffstat (limited to 'upnp.h')
-rw-r--r--upnp.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/upnp.h b/upnp.h
new file mode 100644
index 0000000..5baa1cc
--- /dev/null
+++ b/upnp.h
@@ -0,0 +1,42 @@
+/*
+ * File: upnp.h
+ * Author: savop
+ *
+ * Created on 17. April 2009, 20:53
+ */
+
+#ifndef _UPNP_H
+#define _UPNP_H
+
+#include <vdr/thread.h>
+#include <vdr/plugin.h>
+#include "common.h"
+#include "server/server.h"
+
+class cUPnPServer;
+
+class cPluginUpnp : public cPlugin {
+private:
+ // Add any member variables or functions you may need here.
+ cUPnPServer* mUpnpServer;
+ static const char* mConfigDirectory;
+public:
+ cPluginUpnp(void);
+ virtual ~cPluginUpnp();
+ virtual const char *Version(void);
+ virtual const char *Description(void);
+ 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 cString Active(void);
+ virtual cMenuSetupPage *SetupMenu(void);
+ virtual bool SetupParse(const char *Name, const char *Value);
+ static const char* getConfigDirectory();
+};
+
+extern cCondWait DatabaseLocker;
+
+#endif /* _UPNP_H */
+