#pragma once #ifndef MIQT_QT_GEN_QWAITCONDITION_H #define MIQT_QT_GEN_QWAITCONDITION_H #include #include #include #pragma GCC diagnostic ignored "-Wdeprecated-declarations" #include "../libmiqt/libmiqt.h" #ifdef __cplusplus extern "C" { #endif #ifdef __cplusplus class QDeadlineTimer; class QMutex; class QReadWriteLock; class QWaitCondition; #else typedef struct QDeadlineTimer QDeadlineTimer; typedef struct QMutex QMutex; typedef struct QReadWriteLock QReadWriteLock; typedef struct QWaitCondition QWaitCondition; #endif void QWaitCondition_new(QWaitCondition** outptr_QWaitCondition); bool QWaitCondition_Wait(QWaitCondition* self, QMutex* lockedMutex); bool QWaitCondition_Wait2(QWaitCondition* self, QMutex* lockedMutex, unsigned long time); bool QWaitCondition_WaitWithLockedReadWriteLock(QWaitCondition* self, QReadWriteLock* lockedReadWriteLock); bool QWaitCondition_Wait3(QWaitCondition* self, QReadWriteLock* lockedReadWriteLock, unsigned long time); void QWaitCondition_WakeOne(QWaitCondition* self); void QWaitCondition_WakeAll(QWaitCondition* self); void QWaitCondition_NotifyOne(QWaitCondition* self); void QWaitCondition_NotifyAll(QWaitCondition* self); bool QWaitCondition_Wait22(QWaitCondition* self, QMutex* lockedMutex, QDeadlineTimer* deadline); bool QWaitCondition_Wait23(QWaitCondition* self, QReadWriteLock* lockedReadWriteLock, QDeadlineTimer* deadline); void QWaitCondition_Delete(QWaitCondition* self, bool isSubclass); #ifdef __cplusplus } /* extern C */ #endif #endif