26 #include "org_direct_bt_BTFactory.h"
28 #include <direct_bt/version.h>
39 std::string api_version = std::string(DIRECT_BT_VERSION);
40 return env->NewStringUTF(api_version.c_str());
52 std::string api_version = std::string(DIRECT_BT_VERSION_API);
53 return env->NewStringUTF(api_version.c_str());
67 if( name.length() > 0 ) {
68 if( value.length() > 0 ) {
69 setenv(name.c_str(), value.c_str(), overwrite);
71 setenv(name.c_str(),
"true", overwrite);