summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2008-11-11 23:46:41 +0000
committerphintuka <phintuka>2008-11-11 23:46:41 +0000
commitd9013e912ab8b8d93d653720097b02e3a141daa9 (patch)
treedca9432355fba8ac53152c978bf13bbda5b84267
parentf61f6b79bb576a37777558ff915fbbfb5e07b838 (diff)
downloadxineliboutput-d9013e912ab8b8d93d653720097b02e3a141daa9.tar.gz
xineliboutput-d9013e912ab8b8d93d653720097b02e3a141daa9.tar.bz2
Moved MRL_ID to own header
-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