Index: sources/device/DeviceModels.h =================================================================== diff -u -rb7c9de054c6b7a1ca4bac9fbb0ec5d4ac06620a9 -re8262d170bb94046ddb767074a31530bdf4a2319 --- sources/device/DeviceModels.h (.../DeviceModels.h) (revision b7c9de054c6b7a1ca4bac9fbb0ec5d4ac06620a9) +++ sources/device/DeviceModels.h (.../DeviceModels.h) (revision e8262d170bb94046ddb767074a31530bdf4a2319) @@ -78,11 +78,15 @@ }; +/*! + * \brief The MDeviceBrightnessRequest class + * \details The model for the device brightness value modification request. + */ +class MDeviceBrightnessRequest : public MDeviceRequestBase { // ------------------------------------------------------------------ -// TODO : I believe the two model can be merged. They have so much in common. +// TODO : Merge the two models as they have much in common in this case. // On the CANBus it was separated since the type of data in send and receive was totally different. // But here it's the same. -class MDeviceBrightnessRequest : public MDeviceRequestBase { public: // TODO : these needs to be available in Views static const quint8 mBrightness_min = 2; @@ -106,6 +110,10 @@ } }; +/*! + * \brief The MDeviceBrightnessResponse class + * \details The model for the device brightness value request. + */ class MDeviceBrightnessResponse : public MDeviceResponseBase { public: struct Data : MDeviceResponseBase::Data { @@ -117,7 +125,10 @@ Data data () const; }; - +/*! + * \brief The MDeviceBluetoothPairedResetRequest class + * \details The model for the bluetooth pared removal script call. + */ class MDeviceBluetoothPairedResetRequest : public MDeviceRequestBase { public: struct Data { @@ -128,6 +139,10 @@ } }; +/*! + * \brief The MDeviceBluetoothPairedResetResponse class + * \details The model for the bluetooth pared removal script call returned value / response. + */ class MDeviceBluetoothPairedResetResponse : public MDeviceResponseBase { public: struct Data : MDeviceResponseBase::Data {