Split xcbXorg into xcbXorg and xcbWindow

This commit is contained in:
2025-07-24 06:00:35 -04:00
parent 1bf5f46404
commit 1e17b83061
6 changed files with 695 additions and 446 deletions
+8 -9
View File
@@ -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)
{