mirror of https://github.com/akuker/RASCSI.git
Destroyed Rules for adding new device types (markdown)
parent
a88456cc40
commit
1d09580599
|
@ -1,9 +0,0 @@
|
|||
Before adding a new device check that non of the existing devices is appropriate.
|
||||
|
||||
Steps for adding a new device:
|
||||
|
||||
1. Add the device type to the PbDeviceType enum of the protobuf definition
|
||||
2. Add code for creating your device to the DeviceFactory class. The device instance and all devices-specific properties have to be created by this class.
|
||||
3. Add code handle the device properties to the RascsiReponse class.
|
||||
4. Add the device-specific implementation in new .cpp/.h files.
|
||||
5. Update the manpages.
|
Loading…
Reference in New Issue