summaryrefslogtreecommitdiff
path: root/PLUGINS/src/dvbsddevice/dvbsddevice.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-09-10 13:51:49 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2015-09-10 13:51:49 +0200
commita384d14f925877d240bbbe7705ba0bc678411b86 (patch)
treea0aec18486657c974ffdfaa0e33e0deadaaf15c6 /PLUGINS/src/dvbsddevice/dvbsddevice.c
parent471c1cc044c4969c700be040b5092d570984af55 (diff)
downloadvdr-a384d14f925877d240bbbe7705ba0bc678411b86.tar.gz
vdr-a384d14f925877d240bbbe7705ba0bc678411b86.tar.bz2
No longer delivering the dvbsddevice and rcu plugins with the source archive
Diffstat (limited to 'PLUGINS/src/dvbsddevice/dvbsddevice.c')
-rw-r--r--PLUGINS/src/dvbsddevice/dvbsddevice.c61
1 files changed, 0 insertions, 61 deletions
diff --git a/PLUGINS/src/dvbsddevice/dvbsddevice.c b/PLUGINS/src/dvbsddevice/dvbsddevice.c
deleted file mode 100644
index 81c15e2b..00000000
--- a/PLUGINS/src/dvbsddevice/dvbsddevice.c
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * dvbsddevice.c: A plugin for the Video Disk Recorder
- *
- * See the README file for copyright information and how to reach the author.
- *
- * $Id: dvbsddevice.c 3.4 2015/02/17 13:11:55 kls Exp $
- */
-
-#include <getopt.h>
-#include <vdr/plugin.h>
-#include "dvbsdffdevice.h"
-
-static const char *VERSION = "2.2.0";
-static const char *DESCRIPTION = "SD Full Featured DVB device";
-
-class cPluginDvbsddevice : public cPlugin {
-private:
- cDvbSdFfDeviceProbe *probe;
-public:
- cPluginDvbsddevice(void);
- virtual ~cPluginDvbsddevice();
- 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[]);
- };
-
-cPluginDvbsddevice::cPluginDvbsddevice(void)
-{
- probe = new cDvbSdFfDeviceProbe;
-}
-
-cPluginDvbsddevice::~cPluginDvbsddevice()
-{
- delete probe;
-}
-
-const char *cPluginDvbsddevice::CommandLineHelp(void)
-{
- return " -o --outputonly do not receive, just use as output device\n";
-}
-
-bool cPluginDvbsddevice::ProcessArgs(int argc, char *argv[])
-{
- static struct option long_options[] = {
- { "outputonly", no_argument, NULL, 'o' },
- { NULL, no_argument, NULL, 0 }
- };
-
- int c;
- while ((c = getopt_long(argc, argv, "o", long_options, NULL)) != -1) {
- switch (c) {
- case 'o': probe->SetOutputOnly(true);
- break;
- default: return false;
- }
- }
- return true;
-}
-
-VDRPLUGINCREATOR(cPluginDvbsddevice); // Don't touch this!