mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
43 lines
1.5 KiB
C++
43 lines
1.5 KiB
C++
#ifndef GEN_QOBJECTCLEANUPHANDLER_H
|
|
#define GEN_QOBJECTCLEANUPHANDLER_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
class QMetaObject;
|
|
class QObject;
|
|
class QObjectCleanupHandler;
|
|
#else
|
|
typedef struct QMetaObject QMetaObject;
|
|
typedef struct QObject QObject;
|
|
typedef struct QObjectCleanupHandler QObjectCleanupHandler;
|
|
#endif
|
|
|
|
QObjectCleanupHandler* QObjectCleanupHandler_new();
|
|
QMetaObject* QObjectCleanupHandler_MetaObject(const QObjectCleanupHandler* self);
|
|
void QObjectCleanupHandler_Tr(const char* s, char** _out, int* _out_Strlen);
|
|
void QObjectCleanupHandler_TrUtf8(const char* s, char** _out, int* _out_Strlen);
|
|
QObject* QObjectCleanupHandler_Add(QObjectCleanupHandler* self, QObject* object);
|
|
void QObjectCleanupHandler_Remove(QObjectCleanupHandler* self, QObject* object);
|
|
bool QObjectCleanupHandler_IsEmpty(const QObjectCleanupHandler* self);
|
|
void QObjectCleanupHandler_Clear(QObjectCleanupHandler* self);
|
|
void QObjectCleanupHandler_Tr2(const char* s, const char* c, char** _out, int* _out_Strlen);
|
|
void QObjectCleanupHandler_Tr3(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
|
|
void QObjectCleanupHandler_TrUtf82(const char* s, const char* c, char** _out, int* _out_Strlen);
|
|
void QObjectCleanupHandler_TrUtf83(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
|
|
void QObjectCleanupHandler_Delete(QObjectCleanupHandler* self);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|