mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 17:08:38 +00:00
36 lines
780 B
C++
36 lines
780 B
C++
#pragma once
|
|
#ifndef MIQT_QT6_GEN_QRUNNABLE_H
|
|
#define MIQT_QT6_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_new(QRunnable** outptr_QRunnable);
|
|
void QRunnable_Run(QRunnable* self);
|
|
bool QRunnable_AutoDelete(const QRunnable* self);
|
|
void QRunnable_SetAutoDelete(QRunnable* self, bool autoDelete);
|
|
void QRunnable_override_virtual_Run(void* self, intptr_t slot);
|
|
void QRunnable_virtualbase_Run(void* self);
|
|
void QRunnable_Delete(QRunnable* self, bool isSubclass);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|