Rename hk=>smo
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
#include <functional>
|
||||
#include <user/senseApiDesc.h>
|
||||
|
||||
namespace hk {
|
||||
namespace smo {
|
||||
namespace sense_api {
|
||||
|
||||
class SenseApiLib
|
||||
@@ -28,10 +28,10 @@ private:
|
||||
public:
|
||||
SenseApiLib(
|
||||
const std::string& path, void *_dlopen_handle,
|
||||
HK_GET_SENSE_API_DESC_FN_TYPEDEF *descFn)
|
||||
SMO_GET_SENSE_API_DESC_FN_TYPEDEF *descFn)
|
||||
: libraryPath(path),
|
||||
dlopen_handle(_dlopen_handle, DlCloser()),
|
||||
HK_GET_SENSE_API_DESC_FN_NAME(descFn)
|
||||
SMO_GET_SENSE_API_DESC_FN_NAME(descFn)
|
||||
{}
|
||||
|
||||
void setSenseApiDesc(const SenseApiDesc &desc)
|
||||
@@ -57,16 +57,16 @@ public:
|
||||
/**
|
||||
* @brief Every sense API lib is required to provide a function that returns
|
||||
* a SenseApiDesc struct. This struct states which API the lib uses to
|
||||
* connect Harikoff to the sense provider it supports.
|
||||
* connect Salmanoff to the sense provider it supports.
|
||||
*
|
||||
* This getter function should be visible to dlsym() so that Harikoff can
|
||||
* This getter function should be visible to dlsym() so that Salmanoff can
|
||||
* find it in the lib after loading it, and call it.
|
||||
*/
|
||||
std::function<HK_GET_SENSE_API_DESC_FN_TYPEDEF>
|
||||
HK_GET_SENSE_API_DESC_FN_NAME;
|
||||
std::function<SMO_GET_SENSE_API_DESC_FN_TYPEDEF>
|
||||
SMO_GET_SENSE_API_DESC_FN_NAME;
|
||||
|
||||
/**
|
||||
* @brief Harikoff will call the `HK_GET_SENSE_API_DESC_FN_NAME` getter
|
||||
* @brief Salmanoff will call the `SMO_GET_SENSE_API_DESC_FN_NAME` getter
|
||||
* function and use the data it provides in order to fill out this
|
||||
* descriptor.
|
||||
*/
|
||||
@@ -80,6 +80,6 @@ public:
|
||||
};
|
||||
|
||||
} // namespace sense_api
|
||||
} // namespace hk
|
||||
} // namespace smo
|
||||
|
||||
#endif // SENSE_API_PROVIDER_DESC_H
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <senseApis/senseApiLib.h>
|
||||
#include <user/senseDeviceSpec.h>
|
||||
|
||||
namespace hk {
|
||||
namespace smo {
|
||||
namespace sense_api {
|
||||
|
||||
class SenseApiManager
|
||||
@@ -55,6 +55,6 @@ private:
|
||||
};
|
||||
|
||||
} // namespace sense_api
|
||||
} // namespace hk
|
||||
} // namespace smo
|
||||
|
||||
#endif // SENSE_API_MANAGER_H
|
||||
|
||||
Reference in New Issue
Block a user