Move senseApi libs into their own outer subdir
This commit is contained in:
@@ -38,12 +38,10 @@ public:
|
||||
|
||||
class SenseApiLib
|
||||
{
|
||||
public:
|
||||
typedef const CSenseApiDesc* (SenseApiDescGetterFn)(void);
|
||||
|
||||
public:
|
||||
SenseApiLib(const std::string& path)
|
||||
: libraryPath(path), handle(nullptr, reinterpret_cast<void(*)(void*)>(&dlclose))
|
||||
: libraryPath(path),
|
||||
handle(nullptr, reinterpret_cast<void(*)(void*)>(&dlclose))
|
||||
{}
|
||||
|
||||
public:
|
||||
@@ -58,7 +56,7 @@ public:
|
||||
* This getter function should be visible to dlsym() so that Harikoff can
|
||||
* find it in the lib after loading it, and call it.
|
||||
*/
|
||||
std::function<SenseApiDescGetterFn> getSenseApiDescriptor;
|
||||
std::function<getSenseApiDescFn> getSenseApiDescriptor;
|
||||
|
||||
/**
|
||||
* @brief Harikoff will call the `getSenseApiDescriptor` getter function and
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
#ifndef X11_XCB_API_H
|
||||
#define X11_XCB_API_H
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
|
||||
class X11XcbApi
|
||||
{
|
||||
public:
|
||||
X11XcbApi(const std::string& displayName);
|
||||
~X11XcbApi();
|
||||
|
||||
void addDevice(const std::string& deviceSpec);
|
||||
void removeDevice(const std::string& deviceSpec);
|
||||
void addAllDevicesFromSpecs(const std::vector<std::string>& deviceSpecs);
|
||||
|
||||
private:
|
||||
std::string displayName;
|
||||
std::vector<std::shared_ptr<DeviceManager::SensorDeviceSpec>> deviceSpecs;
|
||||
// Add other necessary members and methods
|
||||
};
|
||||
|
||||
#endif // X11_XCB_API_H
|
||||
Reference in New Issue
Block a user