diff options
author | Frank Schmirler <schmirl@puter.linogate.de> | 2010-12-02 08:53:01 +0100 |
---|---|---|
committer | Frank Schmirler <schmirl@puter.linogate.de> | 2010-12-02 08:53:01 +0100 |
commit | 5e30711bfdb28085234a5ef6da4f4e44305ac3e4 (patch) | |
tree | d15809d23eeeed7fda55d9450b1af7c99d6eb5d6 /streamdev-client.c | |
download | vdr-plugin-streamdev-5e30711bfdb28085234a5ef6da4f4e44305ac3e4.tar.gz vdr-plugin-streamdev-5e30711bfdb28085234a5ef6da4f4e44305ac3e4.tar.bz2 |
Snapshot 2007-03-20
Diffstat (limited to 'streamdev-client.c')
-rw-r--r-- | streamdev-client.c | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/streamdev-client.c b/streamdev-client.c new file mode 100644 index 0000000..fe6a21f --- /dev/null +++ b/streamdev-client.c @@ -0,0 +1,59 @@ +/* + * streamdev.c: A plugin for the Video Disk Recorder + * + * See the README file for copyright information and how to reach the author. + * + * $Id: streamdev-client.c,v 1.2 2005/04/24 16:19:44 lordjaxom Exp $ + */ + +#include "streamdev-client.h" +#include "client/device.h" +#include "client/setup.h" +//#include "client/menu.h" +#include "i18n.h" + +const char *cPluginStreamdevClient::DESCRIPTION = "VTP Streaming Client"; + +cPluginStreamdevClient::cPluginStreamdevClient(void) { +} + +cPluginStreamdevClient::~cPluginStreamdevClient() { +} + +const char *cPluginStreamdevClient::Description(void) { + return tr(DESCRIPTION); +} + +bool cPluginStreamdevClient::Start(void) { + i18n_name = Name(); + RegisterI18n(Phrases); + + cStreamdevDevice::Init(); + + return true; +} + +void cPluginStreamdevClient::Housekeeping(void) { + if (StreamdevClientSetup.StartClient && StreamdevClientSetup.SyncEPG) + ClientSocket.SynchronizeEPG(); +} + +const char *cPluginStreamdevClient::MainMenuEntry(void) { + return NULL; + //return StreamdevClientSetup.StartClient ? tr("Streaming Control") : NULL; +} + +cOsdObject *cPluginStreamdevClient::MainMenuAction(void) { + return NULL; + //return StreamdevClientSetup.StartClient ? new cStreamdevMenu : NULL; +} + +cMenuSetupPage *cPluginStreamdevClient::SetupMenu(void) { + return new cStreamdevClientMenuSetupPage; +} + +bool cPluginStreamdevClient::SetupParse(const char *Name, const char *Value) { + return StreamdevClientSetup.SetupParse(Name, Value); +} + +VDRPLUGINCREATOR(cPluginStreamdevClient); // Don't touch this! |