SenseApiMgr: Provide ComponentThread::getSelf access to libs

This commit is contained in:
2025-09-09 12:02:40 -04:00
parent 725f8772b1
commit 48121ec84c
2 changed files with 17 additions and 1 deletions
+9
View File
@@ -60,6 +60,15 @@ struct SmoCallbacks
*/
std::optional<std::string> (*searchForLibInSmoSearchPaths)(
const std::string& libraryPath);
/**
* @brief Get the current ComponentThread instance
* @return Shared pointer to the current ComponentThread
*
* This function provides access to the current ComponentThread instance,
* equivalent to calling ComponentThread::getSelf().
*/
std::shared_ptr<ComponentThread> (*ComponentThread_getSelf)(void);
};
struct Sal_Mgmt_LibOps