diff options
author | Sven Gothel <[email protected]> | 2021-08-31 22:37:47 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2021-08-31 22:37:47 +0200 |
commit | b333478f163179fa9737d17ee30bc7d316f3de27 (patch) | |
tree | 10d16886e79e96b187ae599be3d753d547211dab /api/direct_bt | |
parent | 7ca6fea44262586d46e17efadbf268d17e242fd2 (diff) |
Properly expose runtime version C++ (DIRECT_BT_VERSION etc) and Java via BTFactory
Diffstat (limited to 'api/direct_bt')
-rw-r--r-- | api/direct_bt/DirectBT.hpp | 2 | ||||
-rw-r--r-- | api/direct_bt/version.h | 33 |
2 files changed, 35 insertions, 0 deletions
diff --git a/api/direct_bt/DirectBT.hpp b/api/direct_bt/DirectBT.hpp index 8e7a4bba..b573b2fe 100644 --- a/api/direct_bt/DirectBT.hpp +++ b/api/direct_bt/DirectBT.hpp @@ -40,6 +40,8 @@ #include <jau/darray.hpp> +#include "version.h" + #include "BTTypes0.hpp" #include "BTDevice.hpp" diff --git a/api/direct_bt/version.h b/api/direct_bt/version.h new file mode 100644 index 00000000..9989cf7d --- /dev/null +++ b/api/direct_bt/version.h @@ -0,0 +1,33 @@ +/* + * Author: Sven Gothel <[email protected]> + * Copyright (c) 2020 Gothel Software e.K. + * Copyright (c) 2020 ZAFENA AB + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +#ifndef DIRECT_BT_VERSION_H_ +#define DIRECT_BT_VERSION_H_ + +extern const char* DIRECT_BT_VERSION; +extern const char* DIRECT_BT_VERSION_SHORT; +extern const char* DIRECT_BT_VERSION_API; + +#endif /* DIRECT_BT_VERSION_H_ */ |