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 17:18:24 -04:00
|
|
|
static sal_mlo_initializeIndFn xcbXorg_initializeInd;
|
|
|
|
|
static sal_mlo_finalizeIndFn xcbXorg_finalizeInd;
|
|
|
|
|
static sal_mlo_attachDeviceReqFn xcbXorg_attachDeviceReq;
|
|
|
|
|
static sal_mlo_detachDeviceReqFn xcbXorg_detachDeviceReq;
|
2025-01-09 06:03:43 -04:00
|
|
|
|
2025-01-09 17:18:24 -04:00
|
|
|
static Csal_mgmt_libOps xcbXorgMgmtLibOps =
|
2025-01-09 06:03:43 -04:00
|
|
|
{
|
|
|
|
|
.initializeInd = xcbXorg_initializeInd,
|
|
|
|
|
.finalizeInd = xcbXorg_finalizeInd,
|
|
|
|
|
.attachDeviceReq = xcbXorg_attachDeviceReq,
|
|
|
|
|
.detachDeviceReq = xcbXorg_detachDeviceReq
|
|
|
|
|
};
|
|
|
|
|
|
2025-01-08 17:16:49 -04:00
|
|
|
static CSenseApiDesc xcbXorgApiDesc =
|
|
|
|
|
{
|
2025-01-09 17:18:24 -04:00
|
|
|
.name = "xcb-xorg",
|
2025-01-09 06:03:43 -04:00
|
|
|
.numExportedImplexorApis = sizeof(xcbXorgExportedImplexorApis) /
|
|
|
|
|
sizeof(*xcbXorgExportedImplexorApis),
|
|
|
|
|
.exportedImplexorApis = xcbXorgExportedImplexorApis,
|
2025-01-09 17:18:24 -04:00
|
|
|
.sal_mgmt_libOps = &xcbXorgMgmtLibOps
|
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
|
|
|
|
2025-01-09 17:18:24 -04:00
|
|
|
static sal_mlo_initializeIndFn xcbXorg_initializeInd;
|
2025-01-10 17:36:39 -04:00
|
|
|
int xcbXorg_initializeInd(Csal_mgmt_hkOps *hkOps)
|
2025-01-09 06:03:43 -04:00
|
|
|
{
|
2025-01-09 17:18:24 -04:00
|
|
|
std::cerr << "XcbXorg::sal_mlo_initializeInd\n";
|
2025-01-09 06:03:43 -04:00
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
2025-01-09 17:18:24 -04:00
|
|
|
static sal_mlo_finalizeIndFn xcbXorg_finalizeInd;
|
2025-01-09 06:03:43 -04:00
|
|
|
int xcbXorg_finalizeInd(void)
|
|
|
|
|
{
|
2025-01-09 17:18:24 -04:00
|
|
|
std::cerr << "XcbXorg::sal_mlo_finalizeInd\n";
|
2025-01-09 06:03:43 -04:00
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
2025-01-09 17:18:24 -04:00
|
|
|
static sal_mlo_attachDeviceReqFn xcbXorg_attachDeviceReq;
|
2025-01-09 06:03:43 -04:00
|
|
|
int xcbXorg_attachDeviceReq(void)
|
|
|
|
|
{
|
2025-01-09 17:18:24 -04:00
|
|
|
std::cerr << "XcbXorg::sal_mlo_attachDeviceReq\n";
|
2025-01-09 06:03:43 -04:00
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
2025-01-09 17:18:24 -04:00
|
|
|
static sal_mlo_detachDeviceReqFn xcbXorg_detachDeviceReq;
|
2025-01-09 06:03:43 -04:00
|
|
|
int xcbXorg_detachDeviceReq(void)
|
|
|
|
|
{
|
2025-01-09 17:18:24 -04:00
|
|
|
std::cerr << "XcbXorg::sal_mlo_detachDeviceReq\n";
|
2025-01-09 06:03:43 -04:00
|
|
|
return 0;
|
|
|
|
|
}
|