mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
40 lines
1.1 KiB
C++
40 lines
1.1 KiB
C++
#pragma once
|
|
#ifndef MIQT_QT_GEN_QTOUCHDEVICE_H
|
|
#define MIQT_QT_GEN_QTOUCHDEVICE_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
#include "../libmiqt/libmiqt.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
class QTouchDevice;
|
|
#else
|
|
typedef struct QTouchDevice QTouchDevice;
|
|
#endif
|
|
|
|
void QTouchDevice_new(QTouchDevice** outptr_QTouchDevice);
|
|
struct miqt_array /* of QTouchDevice* */ QTouchDevice_Devices();
|
|
struct miqt_string QTouchDevice_Name(const QTouchDevice* self);
|
|
int QTouchDevice_Type(const QTouchDevice* self);
|
|
int QTouchDevice_Capabilities(const QTouchDevice* self);
|
|
int QTouchDevice_MaximumTouchPoints(const QTouchDevice* self);
|
|
void QTouchDevice_SetName(QTouchDevice* self, struct miqt_string name);
|
|
void QTouchDevice_SetType(QTouchDevice* self, int devType);
|
|
void QTouchDevice_SetCapabilities(QTouchDevice* self, int caps);
|
|
void QTouchDevice_SetMaximumTouchPoints(QTouchDevice* self, int max);
|
|
void QTouchDevice_Delete(QTouchDevice* self, bool isSubclass);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|