aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-07-19 23:13:07 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2015-07-19 23:13:07 +0200
commit06b0a16d2635dba071ea7967f32c2aabe2b9cbcc (patch)
tree0d5d9c40f0dbc8d1fadc89e1da897075ecc52a8a /include
parentae2d05eee4ffcec4c0611d907779ce8ef61d3a6e (diff)
downloadble-toys-06b0a16d2635dba071ea7967f32c2aabe2b9cbcc.tar.gz
ble-toys-06b0a16d2635dba071ea7967f32c2aabe2b9cbcc.tar.bz2
ble-toys-06b0a16d2635dba071ea7967f32c2aabe2b9cbcc.tar.xz
ble-toys-06b0a16d2635dba071ea7967f32c2aabe2b9cbcc.zip
o Trying to clean up includes a bit.
Diffstat (limited to 'include')
-rw-r--r--include/ble/Bluetooth.h6
-rw-r--r--include/ble/ByteBuffer.h5
2 files changed, 7 insertions, 4 deletions
diff --git a/include/ble/Bluetooth.h b/include/ble/Bluetooth.h
index e9916e9..d238377 100644
--- a/include/ble/Bluetooth.h
+++ b/include/ble/Bluetooth.h
@@ -1,10 +1,12 @@
#ifndef BLUETOOTH_H
#define BLUETOOTH_H
-#include <string>
-#include <stdexcept>
#include <boost/uuid/uuid.hpp>
#include <boost/optional.hpp>
+#include <iosfwd>
+#include <stdexcept>
+#include <vector>
+#include <cstdint>
#include "ByteBuffer.h"
diff --git a/include/ble/ByteBuffer.h b/include/ble/ByteBuffer.h
index 74a1bf7..d977c67 100644
--- a/include/ble/ByteBuffer.h
+++ b/include/ble/ByteBuffer.h
@@ -1,11 +1,12 @@
#ifndef BYTE_STREAM_WRAPPER_H
#define BYTE_STREAM_WRAPPER_H
+#include <cstddef>
#include <cstdint>
#include <cstdlib>
-#include <string>
-#include <stdexcept>
+#include <iosfwd>
#include <memory>
+#include <stdexcept>
class ByteBufferException : public std::runtime_error {
public: