#ifndef GEN_QHTTPMULTIPART_H #define GEN_QHTTPMULTIPART_H #include #include #include #pragma GCC diagnostic ignored "-Wdeprecated-declarations" #include "../../libmiqt/libmiqt.h" #ifdef __cplusplus extern "C" { #endif #ifdef __cplusplus class QByteArray; class QHttpMultiPart; class QHttpPart; class QIODevice; class QMetaObject; class QObject; class QVariant; #else typedef struct QByteArray QByteArray; typedef struct QHttpMultiPart QHttpMultiPart; typedef struct QHttpPart QHttpPart; typedef struct QIODevice QIODevice; typedef struct QMetaObject QMetaObject; typedef struct QObject QObject; typedef struct QVariant QVariant; #endif QHttpPart* QHttpPart_new(); QHttpPart* QHttpPart_new2(QHttpPart* other); void QHttpPart_OperatorAssign(QHttpPart* self, QHttpPart* other); void QHttpPart_Swap(QHttpPart* self, QHttpPart* other); bool QHttpPart_OperatorEqual(const QHttpPart* self, QHttpPart* other); bool QHttpPart_OperatorNotEqual(const QHttpPart* self, QHttpPart* other); void QHttpPart_SetHeader(QHttpPart* self, int header, QVariant* value); void QHttpPart_SetRawHeader(QHttpPart* self, struct miqt_string headerName, struct miqt_string headerValue); void QHttpPart_SetBody(QHttpPart* self, struct miqt_string body); void QHttpPart_SetBodyDevice(QHttpPart* self, QIODevice* device); void QHttpPart_Delete(QHttpPart* self); QHttpMultiPart* QHttpMultiPart_new(); QHttpMultiPart* QHttpMultiPart_new2(int contentType); QHttpMultiPart* QHttpMultiPart_new3(QObject* parent); QHttpMultiPart* QHttpMultiPart_new4(int contentType, QObject* parent); QMetaObject* QHttpMultiPart_MetaObject(const QHttpMultiPart* self); void* QHttpMultiPart_Metacast(QHttpMultiPart* self, const char* param1); struct miqt_string QHttpMultiPart_Tr(const char* s); struct miqt_string QHttpMultiPart_TrUtf8(const char* s); void QHttpMultiPart_Append(QHttpMultiPart* self, QHttpPart* httpPart); void QHttpMultiPart_SetContentType(QHttpMultiPart* self, int contentType); struct miqt_string QHttpMultiPart_Boundary(const QHttpMultiPart* self); void QHttpMultiPart_SetBoundary(QHttpMultiPart* self, struct miqt_string boundary); struct miqt_string QHttpMultiPart_Tr2(const char* s, const char* c); struct miqt_string QHttpMultiPart_Tr3(const char* s, const char* c, int n); struct miqt_string QHttpMultiPart_TrUtf82(const char* s, const char* c); struct miqt_string QHttpMultiPart_TrUtf83(const char* s, const char* c, int n); void QHttpMultiPart_Delete(QHttpMultiPart* self); #ifdef __cplusplus } /* extern C */ #endif #endif