2024-08-25 16:08:24 +12:00
|
|
|
#include <QRunnable>
|
2024-10-16 18:07:56 +13:00
|
|
|
#include <qrunnable.h>
|
2024-08-29 19:01:51 +12:00
|
|
|
#include "gen_qrunnable.h"
|
2024-09-15 10:29:05 +12:00
|
|
|
#include "_cgo_export.h"
|
2024-08-25 16:08:24 +12:00
|
|
|
|
|
|
|
void QRunnable_Run(QRunnable* self) {
|
|
|
|
self->run();
|
|
|
|
}
|
|
|
|
|
2024-09-11 17:41:09 +12:00
|
|
|
bool QRunnable_AutoDelete(const QRunnable* self) {
|
|
|
|
return self->autoDelete();
|
2024-08-25 16:08:24 +12:00
|
|
|
}
|
|
|
|
|
|
|
|
void QRunnable_SetAutoDelete(QRunnable* self, bool _autoDelete) {
|
|
|
|
self->setAutoDelete(_autoDelete);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QRunnable_OperatorAssign(QRunnable* self, QRunnable* param1) {
|
|
|
|
self->operator=(*param1);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QRunnable_Delete(QRunnable* self) {
|
|
|
|
delete self;
|
|
|
|
}
|
|
|
|
|