2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QDEADLINETIMER_H
|
|
|
|
#define MIQT_QT_GEN_QDEADLINETIMER_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
|
|
|
|
class QDeadlineTimer;
|
|
|
|
#else
|
|
|
|
typedef struct QDeadlineTimer QDeadlineTimer;
|
|
|
|
#endif
|
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QDeadlineTimer* QDeadlineTimer_new();
|
|
|
|
QDeadlineTimer* QDeadlineTimer_new2(int param1);
|
|
|
|
QDeadlineTimer* QDeadlineTimer_new3(long long msecs);
|
|
|
|
QDeadlineTimer* QDeadlineTimer_new4(QDeadlineTimer* param1);
|
|
|
|
QDeadlineTimer* QDeadlineTimer_new5(int type_);
|
|
|
|
QDeadlineTimer* QDeadlineTimer_new6(int param1, int type_);
|
|
|
|
QDeadlineTimer* QDeadlineTimer_new7(long long msecs, int typeVal);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDeadlineTimer_Swap(QDeadlineTimer* self, QDeadlineTimer* other);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QDeadlineTimer_IsForever(const QDeadlineTimer* self);
|
|
|
|
bool QDeadlineTimer_HasExpired(const QDeadlineTimer* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QDeadlineTimer_TimerType(const QDeadlineTimer* self);
|
|
|
|
void QDeadlineTimer_SetTimerType(QDeadlineTimer* self, int typeVal);
|
2024-09-11 05:41:09 +00:00
|
|
|
long long QDeadlineTimer_RemainingTime(const QDeadlineTimer* self);
|
|
|
|
long long QDeadlineTimer_RemainingTimeNSecs(const QDeadlineTimer* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QDeadlineTimer_SetRemainingTime(QDeadlineTimer* self, long long msecs);
|
|
|
|
void QDeadlineTimer_SetPreciseRemainingTime(QDeadlineTimer* self, long long secs);
|
2024-09-11 05:41:09 +00:00
|
|
|
long long QDeadlineTimer_Deadline(const QDeadlineTimer* self);
|
|
|
|
long long QDeadlineTimer_DeadlineNSecs(const QDeadlineTimer* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QDeadlineTimer_SetDeadline(QDeadlineTimer* self, long long msecs);
|
|
|
|
void QDeadlineTimer_SetPreciseDeadline(QDeadlineTimer* self, long long secs);
|
|
|
|
QDeadlineTimer* QDeadlineTimer_AddNSecs(QDeadlineTimer* dt, long long nsecs);
|
|
|
|
QDeadlineTimer* QDeadlineTimer_Current();
|
|
|
|
QDeadlineTimer* QDeadlineTimer_OperatorPlusAssign(QDeadlineTimer* self, long long msecs);
|
|
|
|
QDeadlineTimer* QDeadlineTimer_OperatorMinusAssign(QDeadlineTimer* self, long long msecs);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDeadlineTimer_OperatorAssign(QDeadlineTimer* self, QDeadlineTimer* param1);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QDeadlineTimer_SetRemainingTime2(QDeadlineTimer* self, long long msecs, int typeVal);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QDeadlineTimer_SetPreciseRemainingTime2(QDeadlineTimer* self, long long secs, long long nsecs);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QDeadlineTimer_SetPreciseRemainingTime3(QDeadlineTimer* self, long long secs, long long nsecs, int typeVal);
|
|
|
|
void QDeadlineTimer_SetDeadline2(QDeadlineTimer* self, long long msecs, int timerType);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QDeadlineTimer_SetPreciseDeadline2(QDeadlineTimer* self, long long secs, long long nsecs);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QDeadlineTimer_SetPreciseDeadline3(QDeadlineTimer* self, long long secs, long long nsecs, int typeVal);
|
|
|
|
QDeadlineTimer* QDeadlineTimer_Current1(int timerType);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QDeadlineTimer_Delete(QDeadlineTimer* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|