2024-11-17 06:21:37 +00:00
# pragma once
# ifndef MIQT_QT_GEN_QXMLSTREAM_H
# define MIQT_QT_GEN_QXMLSTREAM_H
2024-08-25 04:08:24 +00:00
# include <stdbool.h>
# include <stddef.h>
# include <stdint.h>
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
2024-10-16 05:07:56 +00:00
# include "../libmiqt/libmiqt.h"
2024-09-14 22:29:05 +00:00
2024-08-25 04:08:24 +00:00
# ifdef __cplusplus
extern " C " {
# endif
# ifdef __cplusplus
class QIODevice ;
class QTextCodec ;
class QXmlStreamAttribute ;
class QXmlStreamEntityDeclaration ;
class QXmlStreamEntityResolver ;
class QXmlStreamNamespaceDeclaration ;
class QXmlStreamNotationDeclaration ;
class QXmlStreamReader ;
class QXmlStreamStringRef ;
class QXmlStreamWriter ;
# else
typedef struct QIODevice QIODevice ;
typedef struct QTextCodec QTextCodec ;
typedef struct QXmlStreamAttribute QXmlStreamAttribute ;
typedef struct QXmlStreamEntityDeclaration QXmlStreamEntityDeclaration ;
typedef struct QXmlStreamEntityResolver QXmlStreamEntityResolver ;
typedef struct QXmlStreamNamespaceDeclaration QXmlStreamNamespaceDeclaration ;
typedef struct QXmlStreamNotationDeclaration QXmlStreamNotationDeclaration ;
typedef struct QXmlStreamReader QXmlStreamReader ;
typedef struct QXmlStreamStringRef QXmlStreamStringRef ;
typedef struct QXmlStreamWriter QXmlStreamWriter ;
# endif
2024-12-07 04:15:57 +00:00
QXmlStreamStringRef * QXmlStreamStringRef_new ( ) ;
QXmlStreamStringRef * QXmlStreamStringRef_new2 ( struct miqt_string aString ) ;
QXmlStreamStringRef * QXmlStreamStringRef_new3 ( QXmlStreamStringRef * other ) ;
2024-08-25 04:08:24 +00:00
void QXmlStreamStringRef_OperatorAssign ( QXmlStreamStringRef * self , QXmlStreamStringRef * other ) ;
void QXmlStreamStringRef_Swap ( QXmlStreamStringRef * self , QXmlStreamStringRef * other ) ;
void QXmlStreamStringRef_Clear ( QXmlStreamStringRef * self ) ;
2024-10-18 23:53:33 +00:00
struct miqt_string QXmlStreamStringRef_String ( const QXmlStreamStringRef * self ) ;
2024-09-11 05:41:09 +00:00
int QXmlStreamStringRef_Position ( const QXmlStreamStringRef * self ) ;
int QXmlStreamStringRef_Size ( const QXmlStreamStringRef * self ) ;
2024-11-19 06:29:06 +00:00
void QXmlStreamStringRef_Delete ( QXmlStreamStringRef * self , bool isSubclass ) ;
2024-08-25 04:08:24 +00:00
2024-12-07 04:15:57 +00:00
QXmlStreamAttribute * QXmlStreamAttribute_new ( ) ;
QXmlStreamAttribute * QXmlStreamAttribute_new2 ( struct miqt_string qualifiedName , struct miqt_string value ) ;
QXmlStreamAttribute * QXmlStreamAttribute_new3 ( struct miqt_string namespaceUri , struct miqt_string name , struct miqt_string value ) ;
QXmlStreamAttribute * QXmlStreamAttribute_new4 ( QXmlStreamAttribute * param1 ) ;
2024-08-25 04:08:24 +00:00
void QXmlStreamAttribute_OperatorAssign ( QXmlStreamAttribute * self , QXmlStreamAttribute * param1 ) ;
2024-09-11 05:41:09 +00:00
bool QXmlStreamAttribute_IsDefault ( const QXmlStreamAttribute * self ) ;
bool QXmlStreamAttribute_OperatorEqual ( const QXmlStreamAttribute * self , QXmlStreamAttribute * other ) ;
bool QXmlStreamAttribute_OperatorNotEqual ( const QXmlStreamAttribute * self , QXmlStreamAttribute * other ) ;
2024-11-19 06:29:06 +00:00
void QXmlStreamAttribute_Delete ( QXmlStreamAttribute * self , bool isSubclass ) ;
2024-08-25 04:08:24 +00:00
2024-12-07 04:15:57 +00:00
QXmlStreamNamespaceDeclaration * QXmlStreamNamespaceDeclaration_new ( ) ;
QXmlStreamNamespaceDeclaration * QXmlStreamNamespaceDeclaration_new2 ( struct miqt_string prefix , struct miqt_string namespaceUri ) ;
QXmlStreamNamespaceDeclaration * QXmlStreamNamespaceDeclaration_new3 ( QXmlStreamNamespaceDeclaration * param1 ) ;
2024-08-25 04:08:24 +00:00
void QXmlStreamNamespaceDeclaration_OperatorAssign ( QXmlStreamNamespaceDeclaration * self , QXmlStreamNamespaceDeclaration * param1 ) ;
2024-09-11 05:41:09 +00:00
bool QXmlStreamNamespaceDeclaration_OperatorEqual ( const QXmlStreamNamespaceDeclaration * self , QXmlStreamNamespaceDeclaration * other ) ;
bool QXmlStreamNamespaceDeclaration_OperatorNotEqual ( const QXmlStreamNamespaceDeclaration * self , QXmlStreamNamespaceDeclaration * other ) ;
2024-11-19 06:29:06 +00:00
void QXmlStreamNamespaceDeclaration_Delete ( QXmlStreamNamespaceDeclaration * self , bool isSubclass ) ;
2024-08-25 04:08:24 +00:00
2024-12-07 04:15:57 +00:00
QXmlStreamNotationDeclaration * QXmlStreamNotationDeclaration_new ( ) ;
QXmlStreamNotationDeclaration * QXmlStreamNotationDeclaration_new2 ( QXmlStreamNotationDeclaration * param1 ) ;
2024-08-25 04:08:24 +00:00
void QXmlStreamNotationDeclaration_OperatorAssign ( QXmlStreamNotationDeclaration * self , QXmlStreamNotationDeclaration * param1 ) ;
2024-09-11 05:41:09 +00:00
bool QXmlStreamNotationDeclaration_OperatorEqual ( const QXmlStreamNotationDeclaration * self , QXmlStreamNotationDeclaration * other ) ;
bool QXmlStreamNotationDeclaration_OperatorNotEqual ( const QXmlStreamNotationDeclaration * self , QXmlStreamNotationDeclaration * other ) ;
2024-11-19 06:29:06 +00:00
void QXmlStreamNotationDeclaration_Delete ( QXmlStreamNotationDeclaration * self , bool isSubclass ) ;
2024-08-25 04:08:24 +00:00
2024-12-07 04:15:57 +00:00
QXmlStreamEntityDeclaration * QXmlStreamEntityDeclaration_new ( ) ;
QXmlStreamEntityDeclaration * QXmlStreamEntityDeclaration_new2 ( QXmlStreamEntityDeclaration * param1 ) ;
2024-08-25 04:08:24 +00:00
void QXmlStreamEntityDeclaration_OperatorAssign ( QXmlStreamEntityDeclaration * self , QXmlStreamEntityDeclaration * param1 ) ;
2024-09-11 05:41:09 +00:00
bool QXmlStreamEntityDeclaration_OperatorEqual ( const QXmlStreamEntityDeclaration * self , QXmlStreamEntityDeclaration * other ) ;
bool QXmlStreamEntityDeclaration_OperatorNotEqual ( const QXmlStreamEntityDeclaration * self , QXmlStreamEntityDeclaration * other ) ;
2024-11-19 06:29:06 +00:00
void QXmlStreamEntityDeclaration_Delete ( QXmlStreamEntityDeclaration * self , bool isSubclass ) ;
2024-08-25 04:08:24 +00:00
2024-10-18 23:53:33 +00:00
struct miqt_string QXmlStreamEntityResolver_ResolveEntity ( QXmlStreamEntityResolver * self , struct miqt_string publicId , struct miqt_string systemId ) ;
struct miqt_string QXmlStreamEntityResolver_ResolveUndeclaredEntity ( QXmlStreamEntityResolver * self , struct miqt_string name ) ;
2024-11-19 06:29:06 +00:00
void QXmlStreamEntityResolver_Delete ( QXmlStreamEntityResolver * self , bool isSubclass ) ;
2024-08-25 04:08:24 +00:00
2024-12-07 04:15:57 +00:00
QXmlStreamReader * QXmlStreamReader_new ( ) ;
QXmlStreamReader * QXmlStreamReader_new2 ( QIODevice * device ) ;
QXmlStreamReader * QXmlStreamReader_new3 ( struct miqt_string data ) ;
QXmlStreamReader * QXmlStreamReader_new4 ( struct miqt_string data ) ;
QXmlStreamReader * QXmlStreamReader_new5 ( const char * data ) ;
2024-08-25 04:08:24 +00:00
void QXmlStreamReader_SetDevice ( QXmlStreamReader * self , QIODevice * device ) ;
2024-09-11 05:41:09 +00:00
QIODevice * QXmlStreamReader_Device ( const QXmlStreamReader * self ) ;
2024-10-18 23:53:33 +00:00
void QXmlStreamReader_AddData ( QXmlStreamReader * self , struct miqt_string data ) ;
void QXmlStreamReader_AddDataWithData ( QXmlStreamReader * self , struct miqt_string data ) ;
2024-08-29 07:01:51 +00:00
void QXmlStreamReader_AddData2 ( QXmlStreamReader * self , const char * data ) ;
2024-08-25 04:08:24 +00:00
void QXmlStreamReader_Clear ( QXmlStreamReader * self ) ;
2024-09-11 05:41:09 +00:00
bool QXmlStreamReader_AtEnd ( const QXmlStreamReader * self ) ;
2024-09-18 00:12:02 +00:00
int QXmlStreamReader_ReadNext ( QXmlStreamReader * self ) ;
2024-08-25 04:08:24 +00:00
bool QXmlStreamReader_ReadNextStartElement ( QXmlStreamReader * self ) ;
void QXmlStreamReader_SkipCurrentElement ( QXmlStreamReader * self ) ;
2024-09-18 00:12:02 +00:00
int QXmlStreamReader_TokenType ( const QXmlStreamReader * self ) ;
2024-10-18 23:53:33 +00:00
struct miqt_string QXmlStreamReader_TokenString ( const QXmlStreamReader * self ) ;
2024-08-25 04:08:24 +00:00
void QXmlStreamReader_SetNamespaceProcessing ( QXmlStreamReader * self , bool namespaceProcessing ) ;
2024-09-11 05:41:09 +00:00
bool QXmlStreamReader_NamespaceProcessing ( const QXmlStreamReader * self ) ;
bool QXmlStreamReader_IsStartDocument ( const QXmlStreamReader * self ) ;
bool QXmlStreamReader_IsEndDocument ( const QXmlStreamReader * self ) ;
bool QXmlStreamReader_IsStartElement ( const QXmlStreamReader * self ) ;
bool QXmlStreamReader_IsEndElement ( const QXmlStreamReader * self ) ;
bool QXmlStreamReader_IsCharacters ( const QXmlStreamReader * self ) ;
bool QXmlStreamReader_IsWhitespace ( const QXmlStreamReader * self ) ;
bool QXmlStreamReader_IsCDATA ( const QXmlStreamReader * self ) ;
bool QXmlStreamReader_IsComment ( const QXmlStreamReader * self ) ;
bool QXmlStreamReader_IsDTD ( const QXmlStreamReader * self ) ;
bool QXmlStreamReader_IsEntityReference ( const QXmlStreamReader * self ) ;
bool QXmlStreamReader_IsProcessingInstruction ( const QXmlStreamReader * self ) ;
bool QXmlStreamReader_IsStandaloneDocument ( const QXmlStreamReader * self ) ;
long long QXmlStreamReader_LineNumber ( const QXmlStreamReader * self ) ;
long long QXmlStreamReader_ColumnNumber ( const QXmlStreamReader * self ) ;
long long QXmlStreamReader_CharacterOffset ( const QXmlStreamReader * self ) ;
2024-10-18 23:53:33 +00:00
struct miqt_string QXmlStreamReader_ReadElementText ( QXmlStreamReader * self ) ;
2024-11-17 06:21:37 +00:00
struct miqt_array /* of QXmlStreamNamespaceDeclaration* */ QXmlStreamReader_NamespaceDeclarations ( const QXmlStreamReader * self ) ;
2024-08-25 04:08:24 +00:00
void QXmlStreamReader_AddExtraNamespaceDeclaration ( QXmlStreamReader * self , QXmlStreamNamespaceDeclaration * extraNamespaceDeclaraction ) ;
2024-11-17 06:21:37 +00:00
void QXmlStreamReader_AddExtraNamespaceDeclarations ( QXmlStreamReader * self , struct miqt_array /* of QXmlStreamNamespaceDeclaration* */ extraNamespaceDeclaractions ) ;
struct miqt_array /* of QXmlStreamNotationDeclaration* */ QXmlStreamReader_NotationDeclarations ( const QXmlStreamReader * self ) ;
struct miqt_array /* of QXmlStreamEntityDeclaration* */ QXmlStreamReader_EntityDeclarations ( const QXmlStreamReader * self ) ;
2024-09-11 05:41:09 +00:00
int QXmlStreamReader_EntityExpansionLimit ( const QXmlStreamReader * self ) ;
2024-08-25 04:08:24 +00:00
void QXmlStreamReader_SetEntityExpansionLimit ( QXmlStreamReader * self , int limit ) ;
void QXmlStreamReader_RaiseError ( QXmlStreamReader * self ) ;
2024-10-18 23:53:33 +00:00
struct miqt_string QXmlStreamReader_ErrorString ( const QXmlStreamReader * self ) ;
2024-09-18 00:12:02 +00:00
int QXmlStreamReader_Error ( const QXmlStreamReader * self ) ;
2024-09-11 05:41:09 +00:00
bool QXmlStreamReader_HasError ( const QXmlStreamReader * self ) ;
2024-08-25 04:08:24 +00:00
void QXmlStreamReader_SetEntityResolver ( QXmlStreamReader * self , QXmlStreamEntityResolver * resolver ) ;
2024-09-11 05:41:09 +00:00
QXmlStreamEntityResolver * QXmlStreamReader_EntityResolver ( const QXmlStreamReader * self ) ;
2024-10-18 23:53:33 +00:00
struct miqt_string QXmlStreamReader_ReadElementText1 ( QXmlStreamReader * self , int behaviour ) ;
void QXmlStreamReader_RaiseError1 ( QXmlStreamReader * self , struct miqt_string message ) ;
2024-11-19 06:29:06 +00:00
void QXmlStreamReader_Delete ( QXmlStreamReader * self , bool isSubclass ) ;
2024-08-25 04:08:24 +00:00
2024-12-07 04:15:57 +00:00
QXmlStreamWriter * QXmlStreamWriter_new ( ) ;
QXmlStreamWriter * QXmlStreamWriter_new2 ( QIODevice * device ) ;
2024-08-25 04:08:24 +00:00
void QXmlStreamWriter_SetDevice ( QXmlStreamWriter * self , QIODevice * device ) ;
2024-09-11 05:41:09 +00:00
QIODevice * QXmlStreamWriter_Device ( const QXmlStreamWriter * self ) ;
2024-08-25 04:08:24 +00:00
void QXmlStreamWriter_SetCodec ( QXmlStreamWriter * self , QTextCodec * codec ) ;
2024-08-29 07:01:51 +00:00
void QXmlStreamWriter_SetCodecWithCodecName ( QXmlStreamWriter * self , const char * codecName ) ;
2024-09-11 05:41:09 +00:00
QTextCodec * QXmlStreamWriter_Codec ( const QXmlStreamWriter * self ) ;
2024-08-25 04:08:24 +00:00
void QXmlStreamWriter_SetAutoFormatting ( QXmlStreamWriter * self , bool autoFormatting ) ;
2024-09-11 05:41:09 +00:00
bool QXmlStreamWriter_AutoFormatting ( const QXmlStreamWriter * self ) ;
2024-08-25 04:08:24 +00:00
void QXmlStreamWriter_SetAutoFormattingIndent ( QXmlStreamWriter * self , int spacesOrTabs ) ;
2024-09-11 05:41:09 +00:00
int QXmlStreamWriter_AutoFormattingIndent ( const QXmlStreamWriter * self ) ;
2024-10-18 23:53:33 +00:00
void QXmlStreamWriter_WriteAttribute ( QXmlStreamWriter * self , struct miqt_string qualifiedName , struct miqt_string value ) ;
void QXmlStreamWriter_WriteAttribute2 ( QXmlStreamWriter * self , struct miqt_string namespaceUri , struct miqt_string name , struct miqt_string value ) ;
2024-08-25 04:08:24 +00:00
void QXmlStreamWriter_WriteAttributeWithAttribute ( QXmlStreamWriter * self , QXmlStreamAttribute * attribute ) ;
2024-10-18 23:53:33 +00:00
void QXmlStreamWriter_WriteCDATA ( QXmlStreamWriter * self , struct miqt_string text ) ;
void QXmlStreamWriter_WriteCharacters ( QXmlStreamWriter * self , struct miqt_string text ) ;
void QXmlStreamWriter_WriteComment ( QXmlStreamWriter * self , struct miqt_string text ) ;
void QXmlStreamWriter_WriteDTD ( QXmlStreamWriter * self , struct miqt_string dtd ) ;
void QXmlStreamWriter_WriteEmptyElement ( QXmlStreamWriter * self , struct miqt_string qualifiedName ) ;
void QXmlStreamWriter_WriteEmptyElement2 ( QXmlStreamWriter * self , struct miqt_string namespaceUri , struct miqt_string name ) ;
void QXmlStreamWriter_WriteTextElement ( QXmlStreamWriter * self , struct miqt_string qualifiedName , struct miqt_string text ) ;
void QXmlStreamWriter_WriteTextElement2 ( QXmlStreamWriter * self , struct miqt_string namespaceUri , struct miqt_string name , struct miqt_string text ) ;
2024-08-25 04:08:24 +00:00
void QXmlStreamWriter_WriteEndDocument ( QXmlStreamWriter * self ) ;
void QXmlStreamWriter_WriteEndElement ( QXmlStreamWriter * self ) ;
2024-10-18 23:53:33 +00:00
void QXmlStreamWriter_WriteEntityReference ( QXmlStreamWriter * self , struct miqt_string name ) ;
void QXmlStreamWriter_WriteNamespace ( QXmlStreamWriter * self , struct miqt_string namespaceUri ) ;
void QXmlStreamWriter_WriteDefaultNamespace ( QXmlStreamWriter * self , struct miqt_string namespaceUri ) ;
void QXmlStreamWriter_WriteProcessingInstruction ( QXmlStreamWriter * self , struct miqt_string target ) ;
2024-08-25 04:08:24 +00:00
void QXmlStreamWriter_WriteStartDocument ( QXmlStreamWriter * self ) ;
2024-10-18 23:53:33 +00:00
void QXmlStreamWriter_WriteStartDocumentWithVersion ( QXmlStreamWriter * self , struct miqt_string version ) ;
void QXmlStreamWriter_WriteStartDocument2 ( QXmlStreamWriter * self , struct miqt_string version , bool standalone ) ;
void QXmlStreamWriter_WriteStartElement ( QXmlStreamWriter * self , struct miqt_string qualifiedName ) ;
void QXmlStreamWriter_WriteStartElement2 ( QXmlStreamWriter * self , struct miqt_string namespaceUri , struct miqt_string name ) ;
2024-08-25 04:08:24 +00:00
void QXmlStreamWriter_WriteCurrentToken ( QXmlStreamWriter * self , QXmlStreamReader * reader ) ;
2024-09-11 05:41:09 +00:00
bool QXmlStreamWriter_HasError ( const QXmlStreamWriter * self ) ;
2024-10-18 23:53:33 +00:00
void QXmlStreamWriter_WriteNamespace2 ( QXmlStreamWriter * self , struct miqt_string namespaceUri , struct miqt_string prefix ) ;
void QXmlStreamWriter_WriteProcessingInstruction2 ( QXmlStreamWriter * self , struct miqt_string target , struct miqt_string data ) ;
2024-11-19 06:29:06 +00:00
void QXmlStreamWriter_Delete ( QXmlStreamWriter * self , bool isSubclass ) ;
2024-08-25 04:08:24 +00:00
# ifdef __cplusplus
} /* extern C */
# endif
# endif