2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QRUNNABLE_H
|
|
|
|
#define GEN_QRUNNABLE_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 QRunnable;
|
|
|
|
#else
|
|
|
|
typedef struct QRunnable QRunnable;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
void QRunnable_Run(QRunnable* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QRunnable_AutoDelete(const QRunnable* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QRunnable_SetAutoDelete(QRunnable* self, bool _autoDelete);
|
|
|
|
void QRunnable_OperatorAssign(QRunnable* self, QRunnable* param1);
|
|
|
|
void QRunnable_Delete(QRunnable* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|