2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QBASICTIMER_H
|
|
|
|
#define GEN_QBASICTIMER_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 QBasicTimer;
|
|
|
|
class QObject;
|
|
|
|
#else
|
|
|
|
typedef struct QBasicTimer QBasicTimer;
|
|
|
|
typedef struct QObject QObject;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QBasicTimer* QBasicTimer_new(QBasicTimer* param1);
|
|
|
|
QBasicTimer* QBasicTimer_new2();
|
|
|
|
void QBasicTimer_OperatorAssign(QBasicTimer* self, QBasicTimer* param1);
|
|
|
|
void QBasicTimer_Swap(QBasicTimer* self, QBasicTimer* other);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QBasicTimer_IsActive(const QBasicTimer* self);
|
|
|
|
int QBasicTimer_TimerId(const QBasicTimer* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QBasicTimer_Start(QBasicTimer* self, int msec, QObject* obj);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QBasicTimer_Start2(QBasicTimer* self, int msec, int timerType, QObject* obj);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QBasicTimer_Stop(QBasicTimer* self);
|
|
|
|
void QBasicTimer_Delete(QBasicTimer* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|