summaryrefslogtreecommitdiffstats
path: root/java/jni/direct_bt/DBTAdapter.cxx
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-05-11 05:55:14 +0200
committerSven Gothel <[email protected]>2020-05-11 05:55:14 +0200
commit68710f85d7e5dbcb4ba7afbba026a576ef274c8b (patch)
tree7984794a95910843f2fab4820365e7402fca58f2 /java/jni/direct_bt/DBTAdapter.cxx
parent3a6f01ace07863149278827c28ef954fe2949329 (diff)
Move general types out of MgmtTypes; Extract DBTDevice + DBTAdapter into their own header files; Added DirectBT.hpp
Move general out of MgmtTypes - BTMode -> BTTypes.gpp - AdapterSetting -> DBTTypes.hpp - AdapterInfo -> DBTTypes.hpp - ConnectionInfo -> DBTTypes.hpp - NameAndShortName -> DBTTypes.hpp Consequently add 'to<Type>()' methods to the respective MgmtEvent types, allowing seamless constructing with validation. This data extraction is perfromed to isolate the Mgmt* type from the general API, as MgmtTypes and DBTManager are more implementation specific (-> BlueZ Linux Kernel). +++ Extract DBTDevice + DBTAdapter into their own header files. With the above move of general data types into DBTTypes.hpp, the extraction of the central DBTDevice + DBTAdapter types shall support clarity. +++ Added convenient DirectBT.hpp for user space applications.
Diffstat (limited to 'java/jni/direct_bt/DBTAdapter.cxx')
-rw-r--r--java/jni/direct_bt/DBTAdapter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/jni/direct_bt/DBTAdapter.cxx b/java/jni/direct_bt/DBTAdapter.cxx
index 825285bb..4ee1297a 100644
--- a/java/jni/direct_bt/DBTAdapter.cxx
+++ b/java/jni/direct_bt/DBTAdapter.cxx
@@ -32,7 +32,7 @@
#include "helper_base.hpp"
#include "helper_dbt.hpp"
-#include "direct_bt/DBTTypes.hpp"
+#include "direct_bt/DBTAdapter.hpp"
using namespace direct_bt;