2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT6_GEN_QRUNNABLE_H
|
|
|
|
#define MIQT_QT6_GEN_QRUNNABLE_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 QRunnable;
|
|
|
|
#else
|
|
|
|
typedef struct QRunnable QRunnable;
|
|
|
|
#endif
|
|
|
|
|
2024-11-23 06:34:52 +00:00
|
|
|
void QRunnable_new(QRunnable** outptr_QRunnable);
|
2024-10-20 05:21:03 +00:00
|
|
|
void QRunnable_Run(QRunnable* self);
|
|
|
|
bool QRunnable_AutoDelete(const QRunnable* self);
|
|
|
|
void QRunnable_SetAutoDelete(QRunnable* self, bool autoDelete);
|
2024-11-23 06:34:52 +00:00
|
|
|
void QRunnable_override_virtual_Run(void* self, intptr_t slot);
|
|
|
|
void QRunnable_virtualbase_Run(void* self);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QRunnable_Delete(QRunnable* self, bool isSubclass);
|
2024-10-20 05:21:03 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|