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"
|
|
|
|
|
2024-10-16 05:07:56 +00:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-14 22:29:05 +00:00
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QTouchDevice;
|
|
|
|
#else
|
|
|
|
typedef struct QTouchDevice QTouchDevice;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QTouchDevice* QTouchDevice_new();
|
2024-11-04 07:18:27 +00:00
|
|
|
struct miqt_array QTouchDevice_Devices();
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QTouchDevice_Name(const QTouchDevice* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QTouchDevice_Type(const QTouchDevice* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QTouchDevice_Capabilities(const QTouchDevice* self);
|
|
|
|
int QTouchDevice_MaximumTouchPoints(const QTouchDevice* self);
|
2024-10-18 23:53:33 +00:00
|
|
|
void QTouchDevice_SetName(QTouchDevice* self, struct miqt_string name);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QTouchDevice_SetType(QTouchDevice* self, int devType);
|
2024-08-29 07:01:51 +00:00
|
|
|
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
|