miqt/qt6/gen_qrunnable.h

32 lines
574 B
C
Raw Permalink Normal View History

2024-10-20 05:21:03 +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"
#include "../libmiqt/libmiqt.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
class QRunnable;
#else
typedef struct QRunnable QRunnable;
#endif
void QRunnable_Run(QRunnable* self);
bool QRunnable_AutoDelete(const QRunnable* self);
void QRunnable_SetAutoDelete(QRunnable* self, bool autoDelete);
void QRunnable_Delete(QRunnable* self);
#ifdef __cplusplus
} /* extern C */
#endif
#endif