summaryrefslogtreecommitdiff
path: root/plugin.c
diff options
context:
space:
mode:
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>2012-12-26 17:19:54 +0100
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>2012-12-26 17:19:54 +0100
commit1eaaa955de899e8c6076be3a7bd1d8855e7ce682 (patch)
tree4491334331e2402e08f29efbae861ef7ca075137 /plugin.c
parent97236387af5729929e14d86cafe460dbb08cea1d (diff)
downloadvdr-plugin-inputdev-1eaaa955de899e8c6076be3a7bd1d8855e7ce682.tar.gz
vdr-plugin-inputdev-1eaaa955de899e8c6076be3a7bd1d8855e7ce682.tar.bz2
implemented coldplugging
Diffstat (limited to 'plugin.c')
-rw-r--r--plugin.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugin.c b/plugin.c
index 346d8a9..8e769b0 100644
--- a/plugin.c
+++ b/plugin.c
@@ -39,6 +39,8 @@ private:
int idx;
} socket_;
+ cString coldplug_dir;
+
public:
cInputDevicePlugin(void);
virtual ~cInputDevicePlugin();
@@ -53,7 +55,7 @@ public:
};
cInputDevicePlugin::cInputDevicePlugin() :
- controller_(NULL)
+ controller_(NULL), coldplug_dir("/dev/vdr/input")
{
}
@@ -134,7 +136,7 @@ bool cInputDevicePlugin::Initialize(void)
}
if (is_ok)
- is_ok = controller_->initialize();
+ is_ok = controller_->initialize(coldplug_dir);
if (!is_ok) {
delete controller_;