2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QGESTURERECOGNIZER_H
|
|
|
|
#define MIQT_QT_GEN_QGESTURERECOGNIZER_H
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#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
|
2024-08-29 07:01:51 +00:00
|
|
|
class QEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QGesture;
|
|
|
|
class QGestureRecognizer;
|
|
|
|
class QObject;
|
|
|
|
#else
|
2024-08-29 07:01:51 +00:00
|
|
|
typedef struct QEvent QEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QGesture QGesture;
|
|
|
|
typedef struct QGestureRecognizer QGestureRecognizer;
|
|
|
|
typedef struct QObject QObject;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QGesture* QGestureRecognizer_Create(QGestureRecognizer* self, QObject* target);
|
2024-08-29 07:01:51 +00:00
|
|
|
int QGestureRecognizer_Recognize(QGestureRecognizer* self, QGesture* state, QObject* watched, QEvent* event);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QGestureRecognizer_Reset(QGestureRecognizer* self, QGesture* state);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QGestureRecognizer_RegisterRecognizer(QGestureRecognizer* recognizer);
|
|
|
|
void QGestureRecognizer_UnregisterRecognizer(int typeVal);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QGestureRecognizer_OperatorAssign(QGestureRecognizer* self, QGestureRecognizer* param1);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QGestureRecognizer_Delete(QGestureRecognizer* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|