2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT6_GEN_QSTRINGCONVERTER_H
|
|
|
|
#define MIQT_QT6_GEN_QSTRINGCONVERTER_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;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QStringConverter;
|
|
|
|
class QStringConverterBase;
|
2024-10-20 05:21:03 +00:00
|
|
|
class QStringDecoder;
|
|
|
|
class QStringEncoder;
|
|
|
|
#else
|
|
|
|
typedef struct QByteArrayView QByteArrayView;
|
|
|
|
typedef struct QChar QChar;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QStringConverter QStringConverter;
|
|
|
|
typedef struct QStringConverterBase QStringConverterBase;
|
2024-10-20 05:21:03 +00:00
|
|
|
typedef struct QStringDecoder QStringDecoder;
|
|
|
|
typedef struct QStringEncoder QStringEncoder;
|
|
|
|
#endif
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QStringEncoder_new(QStringEncoder** outptr_QStringEncoder, QStringConverter** outptr_QStringConverter, QStringConverterBase** outptr_QStringConverterBase);
|
|
|
|
void QStringEncoder_new2(int encoding, QStringEncoder** outptr_QStringEncoder, QStringConverter** outptr_QStringConverter, QStringConverterBase** outptr_QStringConverterBase);
|
|
|
|
void QStringEncoder_new3(const char* name, QStringEncoder** outptr_QStringEncoder, QStringConverter** outptr_QStringConverter, QStringConverterBase** outptr_QStringConverterBase);
|
|
|
|
void QStringEncoder_new4(int encoding, int flags, QStringEncoder** outptr_QStringEncoder, QStringConverter** outptr_QStringConverter, QStringConverterBase** outptr_QStringConverterBase);
|
|
|
|
void QStringEncoder_new5(const char* name, int flags, QStringEncoder** outptr_QStringEncoder, QStringConverter** outptr_QStringConverter, QStringConverterBase** outptr_QStringConverterBase);
|
2024-10-20 05:21:03 +00:00
|
|
|
ptrdiff_t QStringEncoder_RequiredSpace(const QStringEncoder* self, ptrdiff_t inputLength);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QStringEncoder_Delete(QStringEncoder* self, bool isSubclass);
|
2024-10-20 05:21:03 +00:00
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QStringDecoder_new(int encoding, QStringDecoder** outptr_QStringDecoder, QStringConverter** outptr_QStringConverter, QStringConverterBase** outptr_QStringConverterBase);
|
|
|
|
void QStringDecoder_new2(QStringDecoder** outptr_QStringDecoder, QStringConverter** outptr_QStringConverter, QStringConverterBase** outptr_QStringConverterBase);
|
|
|
|
void QStringDecoder_new3(const char* name, QStringDecoder** outptr_QStringDecoder, QStringConverter** outptr_QStringConverter, QStringConverterBase** outptr_QStringConverterBase);
|
|
|
|
void QStringDecoder_new4(int encoding, int flags, QStringDecoder** outptr_QStringDecoder, QStringConverter** outptr_QStringConverter, QStringConverterBase** outptr_QStringConverterBase);
|
|
|
|
void QStringDecoder_new5(const char* name, int f, QStringDecoder** outptr_QStringDecoder, QStringConverter** outptr_QStringConverter, QStringConverterBase** outptr_QStringConverterBase);
|
2024-10-20 05:21:03 +00:00
|
|
|
ptrdiff_t QStringDecoder_RequiredSpace(const QStringDecoder* self, ptrdiff_t inputLength);
|
|
|
|
QChar* QStringDecoder_AppendToBuffer(QStringDecoder* self, QChar* out, QByteArrayView* ba);
|
|
|
|
QStringDecoder* QStringDecoder_DecoderForHtml(QByteArrayView* data);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QStringDecoder_Delete(QStringDecoder* self, bool isSubclass);
|
2024-10-20 05:21:03 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|