miqt/qt6/gen_qdatastream.h

86 lines
4.1 KiB
C
Raw Permalink Normal View History

#pragma once
#ifndef MIQT_QT6_GEN_QDATASTREAM_H
#define MIQT_QT6_GEN_QDATASTREAM_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 QDataStream;
class QIODevice;
2024-11-19 06:29:06 +00:00
class QIODeviceBase;
2024-10-20 05:21:03 +00:00
#else
typedef struct QDataStream QDataStream;
typedef struct QIODevice QIODevice;
2024-11-19 06:29:06 +00:00
typedef struct QIODeviceBase QIODeviceBase;
2024-10-20 05:21:03 +00:00
#endif
2024-12-07 04:15:57 +00:00
QDataStream* QDataStream_new();
QDataStream* QDataStream_new2(QIODevice* param1);
QDataStream* QDataStream_new3(struct miqt_string param1);
void QDataStream_virtbase(QDataStream* src, QIODeviceBase** outptr_QIODeviceBase);
2024-10-20 05:21:03 +00:00
QIODevice* QDataStream_Device(const QDataStream* self);
void QDataStream_SetDevice(QDataStream* self, QIODevice* device);
bool QDataStream_AtEnd(const QDataStream* self);
int QDataStream_Status(const QDataStream* self);
void QDataStream_SetStatus(QDataStream* self, int status);
void QDataStream_ResetStatus(QDataStream* self);
int QDataStream_FloatingPointPrecision(const QDataStream* self);
void QDataStream_SetFloatingPointPrecision(QDataStream* self, int precision);
int QDataStream_ByteOrder(const QDataStream* self);
void QDataStream_SetByteOrder(QDataStream* self, int byteOrder);
int QDataStream_Version(const QDataStream* self);
void QDataStream_SetVersion(QDataStream* self, int version);
void QDataStream_OperatorShiftRight(QDataStream* self, char* i);
void QDataStream_OperatorShiftRightWithQint8(QDataStream* self, signed char* i);
void QDataStream_OperatorShiftRightWithQuint8(QDataStream* self, unsigned char* i);
void QDataStream_OperatorShiftRightWithQint16(QDataStream* self, int16_t* i);
void QDataStream_OperatorShiftRightWithQuint16(QDataStream* self, uint16_t* i);
void QDataStream_OperatorShiftRightWithQint32(QDataStream* self, int* i);
void QDataStream_OperatorShiftRightWithQuint32(QDataStream* self, unsigned int* i);
void QDataStream_OperatorShiftRightWithQint64(QDataStream* self, long long* i);
void QDataStream_OperatorShiftRightWithQuint64(QDataStream* self, unsigned long long* i);
void QDataStream_OperatorShiftRightWithBool(QDataStream* self, bool* i);
void QDataStream_OperatorShiftRightWithFloat(QDataStream* self, float* f);
void QDataStream_OperatorShiftRightWithDouble(QDataStream* self, double* f);
void QDataStream_OperatorShiftRightWithStr(QDataStream* self, char* str);
void QDataStream_OperatorShiftLeft(QDataStream* self, char i);
void QDataStream_OperatorShiftLeftWithQint8(QDataStream* self, signed char i);
void QDataStream_OperatorShiftLeftWithQuint8(QDataStream* self, unsigned char i);
void QDataStream_OperatorShiftLeftWithQint16(QDataStream* self, int16_t i);
void QDataStream_OperatorShiftLeftWithQuint16(QDataStream* self, uint16_t i);
void QDataStream_OperatorShiftLeftWithQint32(QDataStream* self, int i);
void QDataStream_OperatorShiftLeftWithQuint32(QDataStream* self, unsigned int i);
void QDataStream_OperatorShiftLeftWithQint64(QDataStream* self, long long i);
void QDataStream_OperatorShiftLeftWithQuint64(QDataStream* self, unsigned long long i);
void QDataStream_OperatorShiftLeftWithBool(QDataStream* self, bool i);
void QDataStream_OperatorShiftLeftWithFloat(QDataStream* self, float f);
void QDataStream_OperatorShiftLeftWithDouble(QDataStream* self, double f);
void QDataStream_OperatorShiftLeftWithStr(QDataStream* self, const char* str);
QDataStream* QDataStream_ReadBytes(QDataStream* self, char* param1, unsigned int* lenVal);
int QDataStream_ReadRawData(QDataStream* self, char* param1, int lenVal);
void QDataStream_WriteBytes(QDataStream* self, const char* param1, unsigned int lenVal);
int QDataStream_WriteRawData(QDataStream* self, const char* param1, int lenVal);
int QDataStream_SkipRawData(QDataStream* self, int lenVal);
void QDataStream_StartTransaction(QDataStream* self);
bool QDataStream_CommitTransaction(QDataStream* self);
void QDataStream_RollbackTransaction(QDataStream* self);
void QDataStream_AbortTransaction(QDataStream* self);
bool QDataStream_IsDeviceTransactionStarted(const QDataStream* self);
2024-11-19 06:29:06 +00:00
void QDataStream_Delete(QDataStream* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif