diff options
author | Sven Gothel <[email protected]> | 2020-06-08 09:36:06 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-06-08 09:36:06 +0200 |
commit | 704395713943a91635d53b13f17c463eee5d994c (patch) | |
tree | fb7503b8bd14e0c51dbeed6e757f06e48aba8011 /api | |
parent | 9ac64beeefabb3a9cd8c6321fe0d617e0995a0c3 (diff) |
DBTDevice: make 'getSharedInstance()' public
Diffstat (limited to 'api')
-rw-r--r-- | api/direct_bt/DBTDevice.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/api/direct_bt/DBTDevice.hpp b/api/direct_bt/DBTDevice.hpp index 1ece6f83..9dd27ebe 100644 --- a/api/direct_bt/DBTDevice.hpp +++ b/api/direct_bt/DBTDevice.hpp @@ -79,9 +79,6 @@ namespace direct_bt { EIRDataType update(EInfoReport const & data); EIRDataType update(GenericAccess const &data, const uint64_t timestamp); - /** Returns the shared pointer of this instance managed by the adapter. */ - std::shared_ptr<DBTDevice> getSharedInstance() const; - void releaseSharedInstance() const; void notifyDisconnected(); void notifyConnected(); @@ -110,6 +107,9 @@ namespace direct_bt { /** Returns the managing adapter */ DBTAdapter & getAdapter() const { return adapter; } + /** Returns the shared pointer of this instance managed by the adapter. */ + std::shared_ptr<DBTDevice> getSharedInstance() const; + /** * Returns the timestamp in monotonic milliseconds when this device instance has been created, either via discovery or direct connection. * @see BasicTypes::getCurrentMilliseconds() |