2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT6_NETWORK_GEN_QHTTPMULTIPART_H
|
|
|
|
#define MIQT_QT6_NETWORK_GEN_QHTTPMULTIPART_H
|
2024-11-04 09:53:04 +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 QByteArray;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QChildEvent;
|
|
|
|
class QEvent;
|
2024-11-04 09:53:04 +00:00
|
|
|
class QHttpMultiPart;
|
|
|
|
class QHttpPart;
|
|
|
|
class QIODevice;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QMetaMethod;
|
2024-11-04 09:53:04 +00:00
|
|
|
class QMetaObject;
|
|
|
|
class QObject;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QTimerEvent;
|
2024-11-04 09:53:04 +00:00
|
|
|
class QVariant;
|
|
|
|
#else
|
|
|
|
typedef struct QByteArray QByteArray;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QChildEvent QChildEvent;
|
|
|
|
typedef struct QEvent QEvent;
|
2024-11-04 09:53:04 +00:00
|
|
|
typedef struct QHttpMultiPart QHttpMultiPart;
|
|
|
|
typedef struct QHttpPart QHttpPart;
|
|
|
|
typedef struct QIODevice QIODevice;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QMetaMethod QMetaMethod;
|
2024-11-04 09:53:04 +00:00
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QObject QObject;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QTimerEvent QTimerEvent;
|
2024-11-04 09:53:04 +00:00
|
|
|
typedef struct QVariant QVariant;
|
|
|
|
#endif
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QHttpPart_new(QHttpPart** outptr_QHttpPart);
|
|
|
|
void QHttpPart_new2(QHttpPart* other, QHttpPart** outptr_QHttpPart);
|
2024-11-04 09:53:04 +00:00
|
|
|
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);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QHttpPart_Delete(QHttpPart* self, bool isSubclass);
|
2024-11-04 09:53:04 +00:00
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QHttpMultiPart_new(QHttpMultiPart** outptr_QHttpMultiPart, QObject** outptr_QObject);
|
|
|
|
void QHttpMultiPart_new2(int contentType, QHttpMultiPart** outptr_QHttpMultiPart, QObject** outptr_QObject);
|
|
|
|
void QHttpMultiPart_new3(QObject* parent, QHttpMultiPart** outptr_QHttpMultiPart, QObject** outptr_QObject);
|
|
|
|
void QHttpMultiPart_new4(int contentType, QObject* parent, QHttpMultiPart** outptr_QHttpMultiPart, QObject** outptr_QObject);
|
2024-11-04 09:53:04 +00:00
|
|
|
QMetaObject* QHttpMultiPart_MetaObject(const QHttpMultiPart* self);
|
|
|
|
void* QHttpMultiPart_Metacast(QHttpMultiPart* self, const char* param1);
|
|
|
|
struct miqt_string QHttpMultiPart_Tr(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);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QHttpMultiPart_override_virtual_Event(void* self, intptr_t slot);
|
|
|
|
bool QHttpMultiPart_virtualbase_Event(void* self, QEvent* event);
|
|
|
|
void QHttpMultiPart_override_virtual_EventFilter(void* self, intptr_t slot);
|
|
|
|
bool QHttpMultiPart_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
|
|
|
|
void QHttpMultiPart_override_virtual_TimerEvent(void* self, intptr_t slot);
|
|
|
|
void QHttpMultiPart_virtualbase_TimerEvent(void* self, QTimerEvent* event);
|
|
|
|
void QHttpMultiPart_override_virtual_ChildEvent(void* self, intptr_t slot);
|
|
|
|
void QHttpMultiPart_virtualbase_ChildEvent(void* self, QChildEvent* event);
|
|
|
|
void QHttpMultiPart_override_virtual_CustomEvent(void* self, intptr_t slot);
|
|
|
|
void QHttpMultiPart_virtualbase_CustomEvent(void* self, QEvent* event);
|
|
|
|
void QHttpMultiPart_override_virtual_ConnectNotify(void* self, intptr_t slot);
|
|
|
|
void QHttpMultiPart_virtualbase_ConnectNotify(void* self, QMetaMethod* signal);
|
|
|
|
void QHttpMultiPart_override_virtual_DisconnectNotify(void* self, intptr_t slot);
|
|
|
|
void QHttpMultiPart_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
|
|
|
|
void QHttpMultiPart_Delete(QHttpMultiPart* self, bool isSubclass);
|
2024-11-04 09:53:04 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|