mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 17:08:38 +00:00
66 lines
2.3 KiB
C++
66 lines
2.3 KiB
C++
#ifndef GEN_QHTTPMULTIPART_H
|
|
#define GEN_QHTTPMULTIPART_H
|
|
|
|
#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;
|
|
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);
|
|
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);
|
|
void QHttpMultiPart_Delete(QHttpMultiPart* self);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|