From 1cf955a715830130b7add8c1183d65b0f442fd23 Mon Sep 17 00:00:00 2001 From: Denis Loh Date: Sat, 24 Oct 2009 14:24:17 +0200 Subject: Initial commit --- upnp.h | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 upnp.h (limited to 'upnp.h') 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 +#include +#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 */ + -- cgit v1.2.3