2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QTOUCHDEVICE_H
|
|
|
|
#define GEN_QTOUCHDEVICE_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QTouchDevice;
|
|
|
|
#else
|
|
|
|
typedef struct QTouchDevice QTouchDevice;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QTouchDevice* QTouchDevice_new();
|
2024-08-29 07:01:51 +00:00
|
|
|
void QTouchDevice_Devices(const QTouchDevice*** _out, size_t* _out_len);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTouchDevice_Name(QTouchDevice* self, char** _out, int* _out_Strlen);
|
2024-08-29 07:01:51 +00:00
|
|
|
uintptr_t QTouchDevice_Type(QTouchDevice* self);
|
|
|
|
int QTouchDevice_Capabilities(QTouchDevice* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
int QTouchDevice_MaximumTouchPoints(QTouchDevice* self);
|
|
|
|
void QTouchDevice_SetName(QTouchDevice* self, const char* name, size_t name_Strlen);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QTouchDevice_SetType(QTouchDevice* self, uintptr_t devType);
|
|
|
|
void QTouchDevice_SetCapabilities(QTouchDevice* self, int caps);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTouchDevice_SetMaximumTouchPoints(QTouchDevice* self, int max);
|
|
|
|
void QTouchDevice_Delete(QTouchDevice* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|