summaryrefslogtreecommitdiff
path: root/streamdev-client.c
diff options
context:
space:
mode:
authorschmirl <schmirl>2008-04-08 14:18:15 +0000
committerschmirl <schmirl>2008-04-08 14:18:15 +0000
commit34a62eb2ef9ba0c9e5d269162772c4223bf5fa3b (patch)
tree0cb0bc89b73cbb62cfda77aa5a06f7b80691e9d4 /streamdev-client.c
parent9c60fb4e42bce2fd3b6d7d9c011f1688cddd4394 (diff)
downloadvdr-plugin-streamdev-34a62eb2ef9ba0c9e5d269162772c4223bf5fa3b.tar.gz
vdr-plugin-streamdev-34a62eb2ef9ba0c9e5d269162772c4223bf5fa3b.tar.bz2
- added gettext support (thanks to Rolf Ahrenberg)
- added vdr-1.6.0-ignore_missing_cam patch - dropped obsolete respect_ca patch - removed legacy code for < VDR 1.5.9 (thanks to Rolf Ahrenberg)
Diffstat (limited to 'streamdev-client.c')
-rw-r--r--streamdev-client.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/streamdev-client.c b/streamdev-client.c
index 340ff52..bc9403c 100644
--- a/streamdev-client.c
+++ b/streamdev-client.c
@@ -3,19 +3,18 @@
*
* See the README file for copyright information and how to reach the author.
*
- * $Id: streamdev-client.c,v 1.5 2008/04/07 14:50:32 schmirl Exp $
+ * $Id: streamdev-client.c,v 1.6 2008/04/08 14:18:15 schmirl Exp $
*/
#include "streamdev-client.h"
#include "client/device.h"
#include "client/setup.h"
-#include "i18n.h"
-#if VDRVERSNUM < 10400
-#error "VDR-1.4.0 or greater is required"
+#if !defined(APIVERSNUM) || APIVERSNUM < 10509
+#error "VDR-1.5.9 API version or greater is required!"
#endif
-const char *cPluginStreamdevClient::DESCRIPTION = "VTP Streaming Client";
+const char *cPluginStreamdevClient::DESCRIPTION = trNOOP("VTP Streaming Client");
cPluginStreamdevClient::cPluginStreamdevClient(void) {
}
@@ -28,12 +27,9 @@ const char *cPluginStreamdevClient::Description(void) {
}
bool cPluginStreamdevClient::Start(void) {
- i18n_name = Name();
- RegisterI18n(Phrases);
-
+ I18nRegister(PLUGIN_NAME_I18N);
cStreamdevDevice::Init();
-
- return true;
+ return true;
}
void cPluginStreamdevClient::Housekeeping(void) {