diff options
author | Denis Loh <denis.loh@web.de> | 2012-09-13 20:01:49 +0200 |
---|---|---|
committer | Denis Loh <denis.loh@web.de> | 2012-09-13 20:01:49 +0200 |
commit | 4d808c7f57e7de856154c7d13b6d2dc6501bb6fc (patch) | |
tree | fac25d52dae381703533f417cd7f400bc74317e9 /upnp.h | |
download | vdr-plugin-upnp-4d808c7f57e7de856154c7d13b6d2dc6501bb6fc.tar.gz vdr-plugin-upnp-4d808c7f57e7de856154c7d13b6d2dc6501bb6fc.tar.bz2 |
Initial commit
Diffstat (limited to 'upnp.h')
-rw-r--r-- | upnp.h | 41 |
1 files changed, 41 insertions, 0 deletions
@@ -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_ */ |