diff options
| author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-11 13:26:26 +0100 |
|---|---|---|
| committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-11 13:26:26 +0100 |
| commit | 78fc25b90a9659048ba3a9a178a45a3e536765f2 (patch) | |
| tree | 611a2c1de323323a3ee889c14b7c5de8500acdc1 /src/vdr/input_vdr.c | |
| parent | f8bd5f9976485960fa7b2ffd1ca2a347044b38ea (diff) | |
| download | xine-lib-78fc25b90a9659048ba3a9a178a45a3e536765f2.tar.gz xine-lib-78fc25b90a9659048ba3a9a178a45a3e536765f2.tar.bz2 | |
Update all misc plugins to the new identifier/description interface. Add _() where missing, for i18n.
Diffstat (limited to 'src/vdr/input_vdr.c')
| -rw-r--r-- | src/vdr/input_vdr.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/vdr/input_vdr.c b/src/vdr/input_vdr.c index 069eb734a..9a1ec0f8e 100644 --- a/src/vdr/input_vdr.c +++ b/src/vdr/input_vdr.c @@ -2628,16 +2628,6 @@ static input_plugin_t *vdr_class_get_instance(input_class_t *cls_gen, xine_strea * vdr input plugin class stuff */ -static const char *vdr_class_get_description(input_class_t *this_gen) -{ - return _("VDR display device plugin"); -} - -static const char *vdr_class_get_identifier (input_class_t *this_gen) -{ - return "VDR"; -} - static void vdr_class_dispose (input_class_t *this_gen) { vdr_input_class_t *this = (vdr_input_class_t *)this_gen; @@ -2668,8 +2658,8 @@ static void *init_class(xine_t *xine, void *data) this->mrls[ 1 ] = 0; this->input_class.get_instance = vdr_class_get_instance; - this->input_class.get_identifier = vdr_class_get_identifier; - this->input_class.get_description = vdr_class_get_description; + this->input_class.identifier = "VDR"; + this->input_class.description = _("VDR display device plugin"); this->input_class.get_dir = NULL; this->input_class.get_autoplay_list = vdr_class_get_autoplay_list; this->input_class.dispose = vdr_class_dispose; |
