Improve readability with getHandle inline
Fork of BLE_API by
Diff: common/BLEDeviceInstanceBase.h
- Revision:
- 257:6be2b4b0cd71
- Parent:
- 232:2c414d3240a8
--- a/common/BLEDeviceInstanceBase.h Tue Dec 02 02:51:52 2014 +0000 +++ b/common/BLEDeviceInstanceBase.h Mon Jan 12 14:49:53 2015 -0800 @@ -28,6 +28,7 @@ virtual Gap& getGap() = 0; virtual GattServer& getGattServer() = 0; virtual ble_error_t init(void) = 0; + virtual ble_error_t shutdown(void) = 0; virtual ble_error_t reset(void) = 0; virtual ble_error_t setTxPower(int8_t txPower) = 0; virtual void waitForEvent(void) = 0; @@ -43,4 +44,4 @@ */ extern BLEDeviceInstanceBase *createBLEDeviceInstance(void); -#endif // ifndef __BLE_DEVICE_INSTANCE_BASE__ +#endif // ifndef __BLE_DEVICE_INSTANCE_BASE__ \ No newline at end of file