reworked device manager
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8671 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -354,7 +354,7 @@ AddOnManager::RegisterDevice(BInputServerDevice *device, const entry_ref &ref, i
|
||||
info.ref = ref;
|
||||
info.addon_image = addon_image;
|
||||
info.isd = device;
|
||||
info.addon = new _BDeviceAddOn_;
|
||||
//info.addon = new _BDeviceAddOn_;
|
||||
|
||||
fDeviceList.Insert(info);
|
||||
}
|
||||
@@ -407,7 +407,7 @@ AddOnManager::RegisterMethod(BInputServerMethod *method, const entry_ref &ref, i
|
||||
info.ref = ref;
|
||||
info.addon_image = addon_image;
|
||||
info.ism = method;
|
||||
info.addon = new _BMethodAddOn_;
|
||||
//info.addon = new _BMethodAddOn_;
|
||||
|
||||
fMethodList.Insert(info);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user