mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 01:18:37 +00:00
129 lines
6.3 KiB
C
129 lines
6.3 KiB
C
|
#ifndef GEN_QMETATYPE_H
|
||
|
#define GEN_QMETATYPE_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 QByteArray;
|
||
|
class QByteArrayView;
|
||
|
class QDataStream;
|
||
|
class QDebug;
|
||
|
class QMetaObject;
|
||
|
class QMetaType;
|
||
|
class QPartialOrdering;
|
||
|
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QtMetaTypePrivate__QPairVariantInterfaceImpl)
|
||
|
typedef QtMetaTypePrivate::QPairVariantInterfaceImpl QtMetaTypePrivate__QPairVariantInterfaceImpl;
|
||
|
#else
|
||
|
class QtMetaTypePrivate__QPairVariantInterfaceImpl;
|
||
|
#endif
|
||
|
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QtPrivate__QMetaTypeInterface)
|
||
|
typedef QtPrivate::QMetaTypeInterface QtPrivate__QMetaTypeInterface;
|
||
|
#else
|
||
|
class QtPrivate__QMetaTypeInterface;
|
||
|
#endif
|
||
|
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QtPrivate__QTypeNormalizer)
|
||
|
typedef QtPrivate::QTypeNormalizer QtPrivate__QTypeNormalizer;
|
||
|
#else
|
||
|
class QtPrivate__QTypeNormalizer;
|
||
|
#endif
|
||
|
#else
|
||
|
typedef struct QByteArray QByteArray;
|
||
|
typedef struct QByteArrayView QByteArrayView;
|
||
|
typedef struct QDataStream QDataStream;
|
||
|
typedef struct QDebug QDebug;
|
||
|
typedef struct QMetaObject QMetaObject;
|
||
|
typedef struct QMetaType QMetaType;
|
||
|
typedef struct QPartialOrdering QPartialOrdering;
|
||
|
typedef struct QtMetaTypePrivate__QPairVariantInterfaceImpl QtMetaTypePrivate__QPairVariantInterfaceImpl;
|
||
|
typedef struct QtPrivate__QMetaTypeInterface QtPrivate__QMetaTypeInterface;
|
||
|
typedef struct QtPrivate__QTypeNormalizer QtPrivate__QTypeNormalizer;
|
||
|
#endif
|
||
|
|
||
|
void QtPrivate__QMetaTypeInterface_Delete(QtPrivate__QMetaTypeInterface* self);
|
||
|
|
||
|
QMetaType* QMetaType_new(int typeVal);
|
||
|
QMetaType* QMetaType_new2();
|
||
|
QMetaType* QMetaType_new3(QMetaType* param1);
|
||
|
void QMetaType_RegisterNormalizedTypedef(struct miqt_string normalizedTypeName, QMetaType* typeVal);
|
||
|
int QMetaType_Type(const char* typeName);
|
||
|
int QMetaType_TypeWithTypeName(struct miqt_string typeName);
|
||
|
const char* QMetaType_TypeName(int typeVal);
|
||
|
int QMetaType_SizeOf(int typeVal);
|
||
|
int QMetaType_TypeFlags(int typeVal);
|
||
|
QMetaObject* QMetaType_MetaObjectForType(int typeVal);
|
||
|
void* QMetaType_Create(int typeVal);
|
||
|
void QMetaType_Destroy(int typeVal, void* data);
|
||
|
void* QMetaType_Construct(int typeVal, void* where, const void* copyVal);
|
||
|
void QMetaType_Destruct(int typeVal, void* where);
|
||
|
bool QMetaType_IsRegistered(int typeVal);
|
||
|
bool QMetaType_IsValid(const QMetaType* self);
|
||
|
bool QMetaType_IsRegistered2(const QMetaType* self);
|
||
|
int QMetaType_Id(const QMetaType* self);
|
||
|
ptrdiff_t QMetaType_SizeOf2(const QMetaType* self);
|
||
|
ptrdiff_t QMetaType_AlignOf(const QMetaType* self);
|
||
|
int QMetaType_Flags(const QMetaType* self);
|
||
|
QMetaObject* QMetaType_MetaObject(const QMetaType* self);
|
||
|
const char* QMetaType_Name(const QMetaType* self);
|
||
|
void* QMetaType_Create2(const QMetaType* self);
|
||
|
void QMetaType_DestroyWithData(const QMetaType* self, void* data);
|
||
|
void* QMetaType_ConstructWithWhere(const QMetaType* self, void* where);
|
||
|
void QMetaType_DestructWithData(const QMetaType* self, void* data);
|
||
|
QPartialOrdering* QMetaType_Compare(const QMetaType* self, const void* lhs, const void* rhs);
|
||
|
bool QMetaType_Equals(const QMetaType* self, const void* lhs, const void* rhs);
|
||
|
bool QMetaType_IsEqualityComparable(const QMetaType* self);
|
||
|
bool QMetaType_IsOrdered(const QMetaType* self);
|
||
|
bool QMetaType_Save(const QMetaType* self, QDataStream* stream, const void* data);
|
||
|
bool QMetaType_Load(const QMetaType* self, QDataStream* stream, void* data);
|
||
|
bool QMetaType_HasRegisteredDataStreamOperators(const QMetaType* self);
|
||
|
bool QMetaType_Save2(QDataStream* stream, int typeVal, const void* data);
|
||
|
bool QMetaType_Load2(QDataStream* stream, int typeVal, void* data);
|
||
|
QMetaType* QMetaType_FromName(QByteArrayView* name);
|
||
|
bool QMetaType_DebugStream(QMetaType* self, QDebug* dbg, const void* rhs);
|
||
|
bool QMetaType_HasRegisteredDebugStreamOperator(const QMetaType* self);
|
||
|
bool QMetaType_DebugStream2(QDebug* dbg, const void* rhs, int typeId);
|
||
|
bool QMetaType_HasRegisteredDebugStreamOperatorWithTypeId(int typeId);
|
||
|
bool QMetaType_Convert(QMetaType* fromType, const void* from, QMetaType* toType, void* to);
|
||
|
bool QMetaType_CanConvert(QMetaType* fromType, QMetaType* toType);
|
||
|
bool QMetaType_View(QMetaType* fromType, void* from, QMetaType* toType, void* to);
|
||
|
bool QMetaType_CanView(QMetaType* fromType, QMetaType* toType);
|
||
|
bool QMetaType_Convert2(const void* from, int fromTypeId, void* to, int toTypeId);
|
||
|
bool QMetaType_Compare2(const void* lhs, const void* rhs, int typeId, int* result);
|
||
|
bool QMetaType_Equals2(const void* lhs, const void* rhs, int typeId, int* result);
|
||
|
bool QMetaType_HasRegisteredConverterFunction(QMetaType* fromType, QMetaType* toType);
|
||
|
bool QMetaType_HasRegisteredMutableViewFunction(QMetaType* fromType, QMetaType* toType);
|
||
|
void QMetaType_UnregisterConverterFunction(QMetaType* from, QMetaType* to);
|
||
|
void QMetaType_UnregisterMutableViewFunction(QMetaType* from, QMetaType* to);
|
||
|
void QMetaType_UnregisterMetaType(QMetaType* typeVal);
|
||
|
void* QMetaType_Create22(int typeVal, const void* copyVal);
|
||
|
int QMetaType_Id1(const QMetaType* self, int param1);
|
||
|
void* QMetaType_Create1(const QMetaType* self, const void* copyVal);
|
||
|
void* QMetaType_Construct2(const QMetaType* self, void* where, const void* copyVal);
|
||
|
void QMetaType_Delete(QMetaType* self);
|
||
|
|
||
|
QtMetaTypePrivate__QPairVariantInterfaceImpl* QtMetaTypePrivate__QPairVariantInterfaceImpl_new();
|
||
|
QtMetaTypePrivate__QPairVariantInterfaceImpl* QtMetaTypePrivate__QPairVariantInterfaceImpl_new2(QtMetaTypePrivate__QPairVariantInterfaceImpl* param1);
|
||
|
void QtMetaTypePrivate__QPairVariantInterfaceImpl_First(const QtMetaTypePrivate__QPairVariantInterfaceImpl* self, void* dataPtr);
|
||
|
void QtMetaTypePrivate__QPairVariantInterfaceImpl_Second(const QtMetaTypePrivate__QPairVariantInterfaceImpl* self, void* dataPtr);
|
||
|
void QtMetaTypePrivate__QPairVariantInterfaceImpl_Delete(QtMetaTypePrivate__QPairVariantInterfaceImpl* self);
|
||
|
|
||
|
int QtPrivate__QTypeNormalizer_NormalizeTypeFromSignature(QtPrivate__QTypeNormalizer* self, const char* begin, const char* end);
|
||
|
int QtPrivate__QTypeNormalizer_NormalizeType(QtPrivate__QTypeNormalizer* self, const char* begin, const char* end);
|
||
|
int QtPrivate__QTypeNormalizer_NormalizeType3(QtPrivate__QTypeNormalizer* self, const char* begin, const char* end, bool adjustConst);
|
||
|
void QtPrivate__QTypeNormalizer_Delete(QtPrivate__QTypeNormalizer* self);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
} /* extern C */
|
||
|
#endif
|
||
|
|
||
|
#endif
|