summaryrefslogtreecommitdiff
path: root/streamdev-client.c
diff options
context:
space:
mode:
authorFrank Schmirler <vdr@schmirler.de>2010-12-02 09:57:17 +0100
committerMikko Matilainen <mikkom@iki.fi>2011-03-22 21:16:18 +0200
commit6ea5efe93960fc761dbb5e0b2d93d9b5818d5d7c (patch)
tree836d96c9a4688a01745719787a7a0e83804356f8 /streamdev-client.c
parent0a860a1e3e45ee83563b09beb93ede0e99eb75fb (diff)
downloadvdr-plugin-streamdev-6ea5efe93960fc761dbb5e0b2d93d9b5818d5d7c.tar.gz
vdr-plugin-streamdev-6ea5efe93960fc761dbb5e0b2d93d9b5818d5d7c.tar.bz2
Snapshot 2010-09-15
Diffstat (limited to 'streamdev-client.c')
-rw-r--r--streamdev-client.c55
1 files changed, 0 insertions, 55 deletions
diff --git a/streamdev-client.c b/streamdev-client.c
deleted file mode 100644
index 9a6b4a7..0000000
--- a/streamdev-client.c
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * 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.7 2010/06/08 05:55:16 schmirl Exp $
- */
-
-#include "streamdev-client.h"
-#include "client/device.h"
-#include "client/setup.h"
-
-#if !defined(APIVERSNUM) || APIVERSNUM < 10509
-#error "VDR-1.5.9 API version or greater is required!"
-#endif
-
-const char *cPluginStreamdevClient::DESCRIPTION = trNOOP("VTP Streaming Client");
-
-cPluginStreamdevClient::cPluginStreamdevClient(void) {
-}
-
-cPluginStreamdevClient::~cPluginStreamdevClient() {
-}
-
-const char *cPluginStreamdevClient::Description(void) {
- return tr(DESCRIPTION);
-}
-
-bool cPluginStreamdevClient::Start(void) {
- I18nRegister(PLUGIN_NAME_I18N);
- cStreamdevDevice::Init();
- return true;
-}
-
-const char *cPluginStreamdevClient::MainMenuEntry(void) {
- return StreamdevClientSetup.StartClient && !StreamdevClientSetup.HideMenuEntry ? tr("Suspend Server") : NULL;
-}
-
-cOsdObject *cPluginStreamdevClient::MainMenuAction(void) {
- if (ClientSocket.SuspendServer())
- Skins.Message(mtInfo, tr("Server is suspended"));
- else
- Skins.Message(mtError, tr("Couldn't suspend Server!"));
- return 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!