miqt/qt6/gen_qdebug.h

91 lines
3.4 KiB
C
Raw Permalink Normal View History

#pragma once
#ifndef MIQT_QT6_GEN_QDEBUG_H
#define MIQT_QT6_GEN_QDEBUG_H
2024-10-20 05:21:03 +00:00
#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 QByteArrayView;
class QChar;
class QDebug;
class QDebugStateSaver;
class QIODevice;
2024-11-19 06:29:06 +00:00
class QIODeviceBase;
2024-10-20 05:21:03 +00:00
class QNoDebug;
#else
typedef struct QByteArrayView QByteArrayView;
typedef struct QChar QChar;
typedef struct QDebug QDebug;
typedef struct QDebugStateSaver QDebugStateSaver;
typedef struct QIODevice QIODevice;
2024-11-19 06:29:06 +00:00
typedef struct QIODeviceBase QIODeviceBase;
2024-10-20 05:21:03 +00:00
typedef struct QNoDebug QNoDebug;
#endif
2024-12-07 04:15:57 +00:00
QDebug* QDebug_new(QIODevice* device);
QDebug* QDebug_new2(QDebug* o);
void QDebug_virtbase(QDebug* src, QIODeviceBase** outptr_QIODeviceBase);
2024-10-20 05:21:03 +00:00
void QDebug_OperatorAssign(QDebug* self, QDebug* other);
void QDebug_Swap(QDebug* self, QDebug* other);
QDebug* QDebug_ResetFormat(QDebug* self);
QDebug* QDebug_Space(QDebug* self);
QDebug* QDebug_Nospace(QDebug* self);
QDebug* QDebug_MaybeSpace(QDebug* self);
QDebug* QDebug_Verbosity(QDebug* self, int verbosityLevel);
int QDebug_Verbosity2(const QDebug* self);
void QDebug_SetVerbosity(QDebug* self, int verbosityLevel);
bool QDebug_AutoInsertSpaces(const QDebug* self);
void QDebug_SetAutoInsertSpaces(QDebug* self, bool b);
QDebug* QDebug_Quote(QDebug* self);
QDebug* QDebug_Noquote(QDebug* self);
QDebug* QDebug_MaybeQuote(QDebug* self);
QDebug* QDebug_OperatorShiftLeft(QDebug* self, QChar* t);
QDebug* QDebug_OperatorShiftLeftWithBool(QDebug* self, bool t);
QDebug* QDebug_OperatorShiftLeftWithChar(QDebug* self, char t);
QDebug* QDebug_OperatorShiftLeftWithShort(QDebug* self, int16_t t);
QDebug* QDebug_OperatorShiftLeftWithUnsignedshort(QDebug* self, uint16_t t);
QDebug* QDebug_OperatorShiftLeftWithInt(QDebug* self, int t);
QDebug* QDebug_OperatorShiftLeftWithUnsignedint(QDebug* self, unsigned int t);
QDebug* QDebug_OperatorShiftLeftWithLong(QDebug* self, long t);
QDebug* QDebug_OperatorShiftLeftWithUnsignedlong(QDebug* self, unsigned long t);
QDebug* QDebug_OperatorShiftLeftWithQint64(QDebug* self, long long t);
QDebug* QDebug_OperatorShiftLeftWithQuint64(QDebug* self, unsigned long long t);
QDebug* QDebug_OperatorShiftLeftWithFloat(QDebug* self, float t);
QDebug* QDebug_OperatorShiftLeftWithDouble(QDebug* self, double t);
QDebug* QDebug_OperatorShiftLeft2(QDebug* self, const char* t);
QDebug* QDebug_OperatorShiftLeftWithQString(QDebug* self, struct miqt_string t);
QDebug* QDebug_OperatorShiftLeftWithQByteArray(QDebug* self, struct miqt_string t);
QDebug* QDebug_OperatorShiftLeftWithQByteArrayView(QDebug* self, QByteArrayView* t);
QDebug* QDebug_OperatorShiftLeftWithVoid(QDebug* self, const void* t);
QDebug* QDebug_MaybeQuote1(QDebug* self, char c);
2024-11-19 06:29:06 +00:00
void QDebug_Delete(QDebug* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
2024-12-07 04:15:57 +00:00
QDebugStateSaver* QDebugStateSaver_new(QDebug* dbg);
2024-11-19 06:29:06 +00:00
void QDebugStateSaver_Delete(QDebugStateSaver* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
QNoDebug* QNoDebug_Space(QNoDebug* self);
QNoDebug* QNoDebug_Nospace(QNoDebug* self);
QNoDebug* QNoDebug_MaybeSpace(QNoDebug* self);
QNoDebug* QNoDebug_Quote(QNoDebug* self);
QNoDebug* QNoDebug_Noquote(QNoDebug* self);
QNoDebug* QNoDebug_MaybeQuote(QNoDebug* self);
QNoDebug* QNoDebug_Verbosity(QNoDebug* self, int param1);
QNoDebug* QNoDebug_MaybeQuote1(QNoDebug* self, const char param1);
2024-11-19 06:29:06 +00:00
void QNoDebug_Delete(QNoDebug* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif