miqt/qt/gen_qrunnable.h
2025-02-01 13:45:22 +13:00

37 lines
806 B
C++

#pragma once
#ifndef MIQT_QT_GEN_QRUNNABLE_H
#define MIQT_QT_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
QRunnable* QRunnable_new();
void QRunnable_run(QRunnable* self);
bool QRunnable_autoDelete(const QRunnable* self);
void QRunnable_setAutoDelete(QRunnable* self, bool _autoDelete);
void QRunnable_operatorAssign(QRunnable* self, QRunnable* param1);
bool QRunnable_override_virtual_run(void* self, intptr_t slot);
void QRunnable_virtualbase_run(void* self);
void QRunnable_delete(QRunnable* self);
#ifdef __cplusplus
} /* extern C */
#endif
#endif