2025-01-08 17:16:49 -04:00
|
|
|
#include <iostream>
|
|
|
|
|
#include <algorithm>
|
2025-01-08 18:00:07 -04:00
|
|
|
#include <stdexcept>
|
2025-01-08 17:16:49 -04:00
|
|
|
#include "xcbXorg.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static CExportedImplexorApiDesc xcbXorgExportedImplexorApis[] =
|
|
|
|
|
{
|
|
|
|
|
{
|
2025-01-08 18:00:07 -04:00
|
|
|
.name = "video-implexor"
|
2025-01-08 17:16:49 -04:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
2025-01-09 06:03:43 -04:00
|
|
|
static sal_lmo_initializeIndFn xcbXorg_initializeInd;
|
|
|
|
|
static sal_lmo_finalizeIndFn xcbXorg_finalizeInd;
|
|
|
|
|
static sal_lmo_attachDeviceReqFn xcbXorg_attachDeviceReq;
|
|
|
|
|
static sal_lmo_detachDeviceReqFn xcbXorg_detachDeviceReq;
|
|
|
|
|
|
|
|
|
|
static Csal_libMgmtOps xcbXorgSalLibMgmtOps =
|
|
|
|
|
{
|
|
|
|
|
.initializeInd = xcbXorg_initializeInd,
|
|
|
|
|
.finalizeInd = xcbXorg_finalizeInd,
|
|
|
|
|
.attachDeviceReq = xcbXorg_attachDeviceReq,
|
|
|
|
|
.detachDeviceReq = xcbXorg_detachDeviceReq
|
|
|
|
|
};
|
|
|
|
|
|
2025-01-08 17:16:49 -04:00
|
|
|
static CSenseApiDesc xcbXorgApiDesc =
|
|
|
|
|
{
|
|
|
|
|
.name = "XcbXorg",
|
2025-01-09 06:03:43 -04:00
|
|
|
.numExportedImplexorApis = sizeof(xcbXorgExportedImplexorApis) /
|
|
|
|
|
sizeof(*xcbXorgExportedImplexorApis),
|
|
|
|
|
.exportedImplexorApis = xcbXorgExportedImplexorApis,
|
|
|
|
|
.sal_libMgmtOps = &xcbXorgSalLibMgmtOps
|
2025-01-08 17:16:49 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
extern HK_UNMANGLED getSenseApiDescFn HK_GET_SENSE_API_DESC_FN_NAME;
|
|
|
|
|
|
|
|
|
|
const CSenseApiDesc *HK_GET_SENSE_API_DESC_FN_NAME(void)
|
|
|
|
|
{
|
|
|
|
|
return &xcbXorgApiDesc;
|
|
|
|
|
}
|
2025-01-09 06:03:43 -04:00
|
|
|
|
|
|
|
|
static sal_lmo_initializeIndFn xcbXorg_initializeInd;
|
|
|
|
|
int xcbXorg_initializeInd(void)
|
|
|
|
|
{
|
|
|
|
|
std::cerr << "XcbXorg::sal_lmo_initializeInd\n";
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static sal_lmo_finalizeIndFn xcbXorg_finalizeInd;
|
|
|
|
|
int xcbXorg_finalizeInd(void)
|
|
|
|
|
{
|
|
|
|
|
std::cerr << "XcbXorg::sal_lmo_finalizeInd\n";
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static sal_lmo_attachDeviceReqFn xcbXorg_attachDeviceReq;
|
|
|
|
|
int xcbXorg_attachDeviceReq(void)
|
|
|
|
|
{
|
|
|
|
|
std::cerr << "XcbXorg::sal_lmo_attachDeviceReq\n";
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static sal_lmo_detachDeviceReqFn xcbXorg_detachDeviceReq;
|
|
|
|
|
int xcbXorg_detachDeviceReq(void)
|
|
|
|
|
{
|
|
|
|
|
std::cerr << "XcbXorg::sal_lmo_detachDeviceReq\n";
|
|
|
|
|
return 0;
|
|
|
|
|
}
|