2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QPLUGINLOADER_H
|
|
|
|
#define MIQT_QT_GEN_QPLUGINLOADER_H
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 05:07:56 +00:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-14 22:29:05 +00:00
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2024-11-19 06:29:06 +00:00
|
|
|
class QChildEvent;
|
|
|
|
class QEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QJsonObject;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QMetaMethod;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QMetaObject;
|
|
|
|
class QObject;
|
|
|
|
class QPluginLoader;
|
|
|
|
class QStaticPlugin;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QTimerEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
#else
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QChildEvent QChildEvent;
|
|
|
|
typedef struct QEvent QEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QJsonObject QJsonObject;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QMetaMethod QMetaMethod;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QObject QObject;
|
|
|
|
typedef struct QPluginLoader QPluginLoader;
|
|
|
|
typedef struct QStaticPlugin QStaticPlugin;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QTimerEvent QTimerEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
#endif
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QPluginLoader_new(QPluginLoader** outptr_QPluginLoader, QObject** outptr_QObject);
|
|
|
|
void QPluginLoader_new2(struct miqt_string fileName, QPluginLoader** outptr_QPluginLoader, QObject** outptr_QObject);
|
|
|
|
void QPluginLoader_new3(QObject* parent, QPluginLoader** outptr_QPluginLoader, QObject** outptr_QObject);
|
|
|
|
void QPluginLoader_new4(struct miqt_string fileName, QObject* parent, QPluginLoader** outptr_QPluginLoader, QObject** outptr_QObject);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QPluginLoader_MetaObject(const QPluginLoader* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QPluginLoader_Metacast(QPluginLoader* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QPluginLoader_Tr(const char* s);
|
|
|
|
struct miqt_string QPluginLoader_TrUtf8(const char* s);
|
2024-08-25 04:08:24 +00:00
|
|
|
QObject* QPluginLoader_Instance(QPluginLoader* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
QJsonObject* QPluginLoader_MetaData(const QPluginLoader* self);
|
2024-11-17 06:21:37 +00:00
|
|
|
struct miqt_array /* of QObject* */ QPluginLoader_StaticInstances();
|
|
|
|
struct miqt_array /* of QStaticPlugin* */ QPluginLoader_StaticPlugins();
|
2024-08-25 04:08:24 +00:00
|
|
|
bool QPluginLoader_Load(QPluginLoader* self);
|
|
|
|
bool QPluginLoader_Unload(QPluginLoader* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QPluginLoader_IsLoaded(const QPluginLoader* self);
|
2024-10-18 23:53:33 +00:00
|
|
|
void QPluginLoader_SetFileName(QPluginLoader* self, struct miqt_string fileName);
|
|
|
|
struct miqt_string QPluginLoader_FileName(const QPluginLoader* self);
|
|
|
|
struct miqt_string QPluginLoader_ErrorString(const QPluginLoader* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QPluginLoader_SetLoadHints(QPluginLoader* self, int loadHints);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QPluginLoader_LoadHints(const QPluginLoader* self);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QPluginLoader_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QPluginLoader_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QPluginLoader_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QPluginLoader_TrUtf83(const char* s, const char* c, int n);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QPluginLoader_override_virtual_Event(void* self, intptr_t slot);
|
|
|
|
bool QPluginLoader_virtualbase_Event(void* self, QEvent* event);
|
|
|
|
void QPluginLoader_override_virtual_EventFilter(void* self, intptr_t slot);
|
|
|
|
bool QPluginLoader_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
|
|
|
|
void QPluginLoader_override_virtual_TimerEvent(void* self, intptr_t slot);
|
|
|
|
void QPluginLoader_virtualbase_TimerEvent(void* self, QTimerEvent* event);
|
|
|
|
void QPluginLoader_override_virtual_ChildEvent(void* self, intptr_t slot);
|
|
|
|
void QPluginLoader_virtualbase_ChildEvent(void* self, QChildEvent* event);
|
|
|
|
void QPluginLoader_override_virtual_CustomEvent(void* self, intptr_t slot);
|
|
|
|
void QPluginLoader_virtualbase_CustomEvent(void* self, QEvent* event);
|
|
|
|
void QPluginLoader_override_virtual_ConnectNotify(void* self, intptr_t slot);
|
|
|
|
void QPluginLoader_virtualbase_ConnectNotify(void* self, QMetaMethod* signal);
|
|
|
|
void QPluginLoader_override_virtual_DisconnectNotify(void* self, intptr_t slot);
|
|
|
|
void QPluginLoader_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
|
|
|
|
void QPluginLoader_Delete(QPluginLoader* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|