diff options
author | Petre Eftime <[email protected]> | 2016-01-27 15:07:30 +0200 |
---|---|---|
committer | Petre Eftime <[email protected]> | 2016-01-27 15:08:19 +0200 |
commit | ffda062a689e303702005f24a87a164dee8cba8b (patch) | |
tree | 9a9f6d8ac7a00960f016d560c06b1f8e320209ee /api/tinyb/BluetoothObject.hpp | |
parent | 706445a43828269019851e34861f949a1232ebe0 (diff) |
Fix Java package runtime mismatchv0.3.0
Signed-off-by: Petre Eftime <[email protected]>
Diffstat (limited to 'api/tinyb/BluetoothObject.hpp')
-rw-r--r-- | api/tinyb/BluetoothObject.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/api/tinyb/BluetoothObject.hpp b/api/tinyb/BluetoothObject.hpp index 0be38cbb..43866380 100644 --- a/api/tinyb/BluetoothObject.hpp +++ b/api/tinyb/BluetoothObject.hpp @@ -25,7 +25,7 @@ #include <memory> #pragma once -#define JAVA_PACKAGE "io/mraa/tinyb" +#define JAVA_PACKAGE "tinyb" namespace tinyb { enum class BluetoothType { @@ -52,6 +52,10 @@ class tinyb::BluetoothObject { public: + static std::string java_class() { + return std::string(JAVA_PACKAGE "/BluetoothObject"); + } + /** Returns the complete Java class of this object * @return A std::string containing the java class of this object */ |