miqt/qt6/gen_qbasictimer.h

39 lines
944 B
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT6_GEN_QBASICTIMER_H
#define MIQT_QT6_GEN_QBASICTIMER_H
2024-10-20 05:21:03 +00:00
#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 QBasicTimer;
class QObject;
#else
typedef struct QBasicTimer QBasicTimer;
typedef struct QObject QObject;
#endif
2024-11-19 06:29:06 +00:00
void QBasicTimer_new(QBasicTimer** outptr_QBasicTimer);
2024-10-20 05:21:03 +00:00
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, int timerType, QObject* obj);
void QBasicTimer_Stop(QBasicTimer* self);
2024-11-19 06:29:06 +00:00
void QBasicTimer_Delete(QBasicTimer* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif