summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xine_input_vdr.h7
-rw-r--r--xine_input_vdr_mrl.h23
2 files changed, 27 insertions, 3 deletions
diff --git a/xine_input_vdr.h b/xine_input_vdr.h
index c74deeb9..223cbe9c 100644
--- a/xine_input_vdr.h
+++ b/xine_input_vdr.h
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_input_vdr.h,v 1.7 2008-06-17 15:38:40 phintuka Exp $
+ * $Id: xine_input_vdr.h,v 1.8 2008-11-11 23:46:41 phintuka Exp $
*
*/
@@ -15,8 +15,9 @@
extern "C" {
#endif
-#define MRL_ID "xvdr"
-#define MRL_ID_LEN 4
+#include <xine/input_plugin.h>
+
+#include "xine_input_vdr_mrl.h"
struct input_plugin_s;
struct vdr_input_plugin_if_s;
diff --git a/xine_input_vdr_mrl.h b/xine_input_vdr_mrl.h
new file mode 100644
index 00000000..9924d5cc
--- /dev/null
+++ b/xine_input_vdr_mrl.h
@@ -0,0 +1,23 @@
+/*
+ * xine_input_vdr_mrl.h:
+ *
+ * See the main source file 'xineliboutput.c' for copyright information and
+ * how to reach the author.
+ *
+ * $Id: xine_input_vdr_mrl.h,v 1.1 2008-11-11 23:46:41 phintuka Exp $
+ *
+ */
+
+#ifndef XINE_INPUT_VDR_MRL_H
+#define XINE_INPUT_VDR_MRL_H
+
+# ifndef MRL_ID
+
+# define MRL_ID "xvdr"
+
+# undef MRL_ID_LEN
+# define MRL_ID_LEN 4
+
+# endif
+
+#endif