diff options
author | Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> | 2012-12-26 17:19:54 +0100 |
---|---|---|
committer | Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> | 2012-12-26 17:19:54 +0100 |
commit | 1eaaa955de899e8c6076be3a7bd1d8855e7ce682 (patch) | |
tree | 4491334331e2402e08f29efbae861ef7ca075137 /plugin.c | |
parent | 97236387af5729929e14d86cafe460dbb08cea1d (diff) | |
download | vdr-plugin-inputdev-1eaaa955de899e8c6076be3a7bd1d8855e7ce682.tar.gz vdr-plugin-inputdev-1eaaa955de899e8c6076be3a7bd1d8855e7ce682.tar.bz2 |
implemented coldplugging
Diffstat (limited to 'plugin.c')
-rw-r--r-- | plugin.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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_; |