Rename hk=>smo

This commit is contained in:
2025-07-22 06:48:04 -04:00
parent 79f3e84ff8
commit d0aa8e2306
26 changed files with 119 additions and 119 deletions
+9 -9
View File
@@ -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