aboutsummaryrefslogtreecommitdiff
path: root/include/ble
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-06-21 13:26:55 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2015-06-21 13:26:55 +0200
commit47b736139f242a8fd2e5c6513b0c2e0b31110d77 (patch)
tree94aeca3afb607a2b60cca2a146c8532d431f2b1f /include/ble
parentf4afc04ee7a085a89ad84ba89344bb50ca9e6e04 (diff)
downloadble-toys-47b736139f242a8fd2e5c6513b0c2e0b31110d77.tar.gz
ble-toys-47b736139f242a8fd2e5c6513b0c2e0b31110d77.tar.bz2
ble-toys-47b736139f242a8fd2e5c6513b0c2e0b31110d77.tar.xz
ble-toys-47b736139f242a8fd2e5c6513b0c2e0b31110d77.zip
SoilMoisture:
o Adding getName(). sm-get-value: o More cleanup.
Diffstat (limited to 'include/ble')
-rw-r--r--include/ble/Bluetooth.h5
1 files changed, 5 insertions, 0 deletions
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;