Split xcbXorg into xcbXorg and xcbWindow
This commit is contained in:
@@ -13,15 +13,6 @@ namespace fs = std::filesystem;
|
||||
namespace smo {
|
||||
namespace sense_api {
|
||||
|
||||
/* Hooks to be provided to senseApiLibs, enabling them to call into Salmanoff
|
||||
* code.
|
||||
*/
|
||||
static SalmanoffCallbacks salmanoffCallbacks =
|
||||
{
|
||||
.searchForLibInSmoSearchPaths = &SenseApiManager
|
||||
::searchForLibInSmoSearchPaths
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief Searches for a library in predefined locations
|
||||
* @param libraryPath The name or path of the library to find
|
||||
@@ -75,6 +66,14 @@ static std::optional<std::string> searchForLibInSmoSearchPaths(
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
/* Hooks to be provided to senseApiLibs, enabling them to call into Salmanoff
|
||||
* code.
|
||||
*/
|
||||
static SalmanoffCallbacks salmanoffCallbacks =
|
||||
{
|
||||
.searchForLibInSmoSearchPaths = searchForLibInSmoSearchPaths
|
||||
};
|
||||
|
||||
std::optional<std::string> SenseApiManager::searchForLibInSmoSearchPaths(
|
||||
const std::string& libraryPath)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user