Files
salmanoff/hcore/include/senseApis/x11-xcb.h
T
hayodea fe3f911db4 SenseApis: New senseApiManager and X11XcbApi
Still fleshing these out but ultimately senseApiMgr will manage
sense apis, and the X11XcbApi is where we'll connect to Xcb and
read the screen.
2025-01-08 06:26:36 -04:00

25 lines
568 B
C++

#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