summaryrefslogtreecommitdiff
path: root/plugin.c
diff options
context:
space:
mode:
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_;