miqt/qt6/gen_qstringconverter_base.h

52 lines
1.7 KiB
C
Raw Permalink Normal View History

#pragma once
#ifndef MIQT_QT6_GEN_QSTRINGCONVERTER_BASE_H
#define MIQT_QT6_GEN_QSTRINGCONVERTER_BASE_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 QStringConverter;
class QStringConverterBase;
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QStringConverterBase__State)
typedef QStringConverterBase::State QStringConverterBase__State;
#else
class QStringConverterBase__State;
#endif
#else
typedef struct QStringConverter QStringConverter;
typedef struct QStringConverterBase QStringConverterBase;
typedef struct QStringConverterBase__State QStringConverterBase__State;
#endif
2024-12-07 04:15:57 +00:00
QStringConverterBase* QStringConverterBase_new(QStringConverterBase* param1);
QStringConverterBase* QStringConverterBase_new2();
2024-10-20 05:21:03 +00:00
2024-12-07 04:15:57 +00:00
void QStringConverter_virtbase(QStringConverter* src, QStringConverterBase** outptr_QStringConverterBase);
2024-10-20 05:21:03 +00:00
bool QStringConverter_IsValid(const QStringConverter* self);
void QStringConverter_ResetState(QStringConverter* self);
bool QStringConverter_HasError(const QStringConverter* self);
const char* QStringConverter_Name(const QStringConverter* self);
const char* QStringConverter_NameForEncoding(int e);
2024-12-07 04:15:57 +00:00
QStringConverterBase__State* QStringConverterBase__State_new();
QStringConverterBase__State* QStringConverterBase__State_new2(int f);
2024-10-20 05:21:03 +00:00
void QStringConverterBase__State_Clear(QStringConverterBase__State* self);
void QStringConverterBase__State_Reset(QStringConverterBase__State* self);
2024-11-19 06:29:06 +00:00
void QStringConverterBase__State_Delete(QStringConverterBase__State* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif