Part of lp.hardwaredb.interfaces.hwdb View In Hierarchy
Method | create | Create a new IHWDeviceDriver instance. |
Method | getByDeviceAndDriver | Return an IHWDeviceDriver instance. |
Method | getOrCreate | Return an IHWDeviceDriverLink record or create one. |
Parameters | device | The IHWDevice instance to be linked. |
driver | The IHWDriver instance to be linked. | |
Returns | The new IHWDeviceDriver instance. |
Parameters | device | An IHWDevice instance. |
driver | An IHWDriver instance. | |
Returns | The IHWDeviceDriver instance matching the given parameters or None, if no existing instance matches. |
Return an existing IHWDeviceDriverLink record matching te given parameters or create a new one, if no exitsing record matches.
Parameters | device | The IHWDevice instance to be linked. |
driver | The IHWDriver instance to be linked. | |
Returns | An IHWDeviceDriverLink instance. |