From 47b736139f242a8fd2e5c6513b0c2e0b31110d77 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 21 Jun 2015 13:26:55 +0200 Subject: SoilMoisture: o Adding getName(). sm-get-value: o More cleanup. --- include/ble/Bluetooth.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/ble/Bluetooth.h b/include/ble/Bluetooth.h index 80729af..97e7cfe 100644 --- a/include/ble/Bluetooth.h +++ b/include/ble/Bluetooth.h @@ -122,6 +122,11 @@ public: virtual ~BluetoothGatt(); + // No copying + BluetoothGatt(const BluetoothGatt&) = delete; + + BluetoothGatt& operator=(const BluetoothGatt&) = delete; + virtual BluetoothDevice &getDevice() const = 0; virtual bool isConnected() const = 0; -- cgit v1.2.3