2024-11-17 19:21:37 +13:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT6_GEN_QRUNNABLE_H
|
|
|
|
#define MIQT_QT6_GEN_QRUNNABLE_H
|
2024-10-20 18:21:03 +13: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-12-07 17:15:57 +13:00
|
|
|
QRunnable* QRunnable_new();
|
2024-10-20 18:21:03 +13:00
|
|
|
void QRunnable_Run(QRunnable* self);
|
|
|
|
bool QRunnable_AutoDelete(const QRunnable* self);
|
|
|
|
void QRunnable_SetAutoDelete(QRunnable* self, bool autoDelete);
|
2025-01-18 17:57:48 +13:00
|
|
|
bool QRunnable_override_virtual_Run(void* self, intptr_t slot);
|
2024-11-23 19:34:52 +13:00
|
|
|
void QRunnable_virtualbase_Run(void* self);
|
2025-01-18 17:42:41 +13:00
|
|
|
void QRunnable_Delete(QRunnable* self);
|
2024-10-20 18:21:03 +13:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|