mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
38 lines
970 B
C++
38 lines
970 B
C++
#ifndef GEN_QBASICTIMER_H
|
|
#define GEN_QBASICTIMER_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
#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);
|
|
bool QBasicTimer_IsActive(const QBasicTimer* self);
|
|
int QBasicTimer_TimerId(const QBasicTimer* self);
|
|
void QBasicTimer_Start(QBasicTimer* self, int msec, QObject* obj);
|
|
void QBasicTimer_Start2(QBasicTimer* self, int msec, uintptr_t timerType, QObject* obj);
|
|
void QBasicTimer_Stop(QBasicTimer* self);
|
|
void QBasicTimer_Delete(QBasicTimer* self);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|