summaryrefslogtreecommitdiffstats
path: root/api/direct_bt/DBTAdapter.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'api/direct_bt/DBTAdapter.hpp')
-rw-r--r--api/direct_bt/DBTAdapter.hpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/api/direct_bt/DBTAdapter.hpp b/api/direct_bt/DBTAdapter.hpp
index deb83029..2e0268b2 100644
--- a/api/direct_bt/DBTAdapter.hpp
+++ b/api/direct_bt/DBTAdapter.hpp
@@ -151,6 +151,13 @@ namespace direct_bt {
// *************************************************
// *************************************************
// *************************************************
+ template <typename T> class CowList
+ {
+ bool add(T);
+ bool remove(T);
+ int removeAll();
+ int size();
+ };
/**
* DBTAdapter represents one Bluetooth Controller.
@@ -300,7 +307,7 @@ namespace direct_bt {
*/
inline void checkValidAdapter() const {
if( !isValid() ) {
- throw IllegalStateException("Adapter state invalid: "+aptrHexString(this)+", "+toString(), E_FILE_LINE);
+ throw jau::IllegalStateException("Adapter state invalid: "+jau::aptrHexString(this)+", "+toString(), E_FILE_LINE);
}
}