diff options
author | Denis Loh <denis.loh@gmail.com> | 2009-10-24 14:24:17 +0200 |
---|---|---|
committer | Denis Loh <denis.loh@gmail.com> | 2009-10-24 14:24:17 +0200 |
commit | 1cf955a715830130b7add8c1183d65b0f442fd23 (patch) | |
tree | c9d03961e9f83b1100ef6010a4a53063f127aa5d /upnp.h | |
download | vdr-plugin-upnp-1cf955a715830130b7add8c1183d65b0f442fd23.tar.gz vdr-plugin-upnp-1cf955a715830130b7add8c1183d65b0f442fd23.tar.bz2 |
Initial commit
Diffstat (limited to 'upnp.h')
-rw-r--r-- | upnp.h | 42 |
1 files changed, 42 insertions, 0 deletions
@@ -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 */ + |