Move senseApi libs into their own outer subdir

This commit is contained in:
2025-01-08 17:16:49 -04:00
parent 988e84a545
commit d14cef5328
16 changed files with 9193 additions and 82 deletions
+2
View File
@@ -0,0 +1,2 @@
pkglib_LTLIBRARIES=libxcbXorg.la
libxcbXorg_la_SOURCES=xcbXorg.cpp
+24
View File
@@ -0,0 +1,24 @@
#include <iostream>
#include <algorithm>
#include "xcbXorg.h"
static CExportedImplexorApiDesc xcbXorgExportedImplexorApis[] =
{
{
.name = "XcbXorg"
}
};
static CSenseApiDesc xcbXorgApiDesc =
{
.name = "XcbXorg",
.exportedImplexorApis = xcbXorgExportedImplexorApis
};
extern HK_UNMANGLED getSenseApiDescFn HK_GET_SENSE_API_DESC_FN_NAME;
const CSenseApiDesc *HK_GET_SENSE_API_DESC_FN_NAME(void)
{
return &xcbXorgApiDesc;
}
+22
View File
@@ -0,0 +1,22 @@
#ifndef X11_XCB_API_H
#define X11_XCB_API_H
#include <string>
#include <vector>
#include <memory>
#include <user/senseApiDesc.h>
class Xcb_XorgApi
{
public:
Xcb_XorgApi(const std::string& _displayName)
: displayName(_displayName)
{}
~Xcb_XorgApi() = default;
private:
std::string displayName;
};
#endif // X11_XCB_API_H