mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 00:48:38 +00:00
163 lines
11 KiB
C++
163 lines
11 KiB
C++
#pragma once
|
|
#ifndef MIQT_QT_NETWORK_GEN_QNETWORKACCESSMANAGER_H
|
|
#define MIQT_QT_NETWORK_GEN_QNETWORKACCESSMANAGER_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 QAbstractNetworkCache;
|
|
class QAuthenticator;
|
|
class QChildEvent;
|
|
class QEvent;
|
|
class QHstsPolicy;
|
|
class QHttpMultiPart;
|
|
class QIODevice;
|
|
class QMetaMethod;
|
|
class QMetaObject;
|
|
class QNetworkAccessManager;
|
|
class QNetworkConfiguration;
|
|
class QNetworkCookieJar;
|
|
class QNetworkProxy;
|
|
class QNetworkProxyFactory;
|
|
class QNetworkReply;
|
|
class QNetworkRequest;
|
|
class QObject;
|
|
class QSslConfiguration;
|
|
class QSslError;
|
|
class QSslPreSharedKeyAuthenticator;
|
|
class QTimerEvent;
|
|
#else
|
|
typedef struct QAbstractNetworkCache QAbstractNetworkCache;
|
|
typedef struct QAuthenticator QAuthenticator;
|
|
typedef struct QChildEvent QChildEvent;
|
|
typedef struct QEvent QEvent;
|
|
typedef struct QHstsPolicy QHstsPolicy;
|
|
typedef struct QHttpMultiPart QHttpMultiPart;
|
|
typedef struct QIODevice QIODevice;
|
|
typedef struct QMetaMethod QMetaMethod;
|
|
typedef struct QMetaObject QMetaObject;
|
|
typedef struct QNetworkAccessManager QNetworkAccessManager;
|
|
typedef struct QNetworkConfiguration QNetworkConfiguration;
|
|
typedef struct QNetworkCookieJar QNetworkCookieJar;
|
|
typedef struct QNetworkProxy QNetworkProxy;
|
|
typedef struct QNetworkProxyFactory QNetworkProxyFactory;
|
|
typedef struct QNetworkReply QNetworkReply;
|
|
typedef struct QNetworkRequest QNetworkRequest;
|
|
typedef struct QObject QObject;
|
|
typedef struct QSslConfiguration QSslConfiguration;
|
|
typedef struct QSslError QSslError;
|
|
typedef struct QSslPreSharedKeyAuthenticator QSslPreSharedKeyAuthenticator;
|
|
typedef struct QTimerEvent QTimerEvent;
|
|
#endif
|
|
|
|
QNetworkAccessManager* QNetworkAccessManager_new();
|
|
QNetworkAccessManager* QNetworkAccessManager_new2(QObject* parent);
|
|
void QNetworkAccessManager_virtbase(QNetworkAccessManager* src, QObject** outptr_QObject);
|
|
QMetaObject* QNetworkAccessManager_MetaObject(const QNetworkAccessManager* self);
|
|
void* QNetworkAccessManager_Metacast(QNetworkAccessManager* self, const char* param1);
|
|
struct miqt_string QNetworkAccessManager_Tr(const char* s);
|
|
struct miqt_string QNetworkAccessManager_TrUtf8(const char* s);
|
|
struct miqt_array /* of struct miqt_string */ QNetworkAccessManager_SupportedSchemes(const QNetworkAccessManager* self);
|
|
void QNetworkAccessManager_ClearAccessCache(QNetworkAccessManager* self);
|
|
void QNetworkAccessManager_ClearConnectionCache(QNetworkAccessManager* self);
|
|
QNetworkProxy* QNetworkAccessManager_Proxy(const QNetworkAccessManager* self);
|
|
void QNetworkAccessManager_SetProxy(QNetworkAccessManager* self, QNetworkProxy* proxy);
|
|
QNetworkProxyFactory* QNetworkAccessManager_ProxyFactory(const QNetworkAccessManager* self);
|
|
void QNetworkAccessManager_SetProxyFactory(QNetworkAccessManager* self, QNetworkProxyFactory* factory);
|
|
QAbstractNetworkCache* QNetworkAccessManager_Cache(const QNetworkAccessManager* self);
|
|
void QNetworkAccessManager_SetCache(QNetworkAccessManager* self, QAbstractNetworkCache* cache);
|
|
QNetworkCookieJar* QNetworkAccessManager_CookieJar(const QNetworkAccessManager* self);
|
|
void QNetworkAccessManager_SetCookieJar(QNetworkAccessManager* self, QNetworkCookieJar* cookieJar);
|
|
void QNetworkAccessManager_SetStrictTransportSecurityEnabled(QNetworkAccessManager* self, bool enabled);
|
|
bool QNetworkAccessManager_IsStrictTransportSecurityEnabled(const QNetworkAccessManager* self);
|
|
void QNetworkAccessManager_EnableStrictTransportSecurityStore(QNetworkAccessManager* self, bool enabled);
|
|
bool QNetworkAccessManager_IsStrictTransportSecurityStoreEnabled(const QNetworkAccessManager* self);
|
|
void QNetworkAccessManager_AddStrictTransportSecurityHosts(QNetworkAccessManager* self, struct miqt_array /* of QHstsPolicy* */ knownHosts);
|
|
struct miqt_array /* of QHstsPolicy* */ QNetworkAccessManager_StrictTransportSecurityHosts(const QNetworkAccessManager* self);
|
|
QNetworkReply* QNetworkAccessManager_Head(QNetworkAccessManager* self, QNetworkRequest* request);
|
|
QNetworkReply* QNetworkAccessManager_Get(QNetworkAccessManager* self, QNetworkRequest* request);
|
|
QNetworkReply* QNetworkAccessManager_Post(QNetworkAccessManager* self, QNetworkRequest* request, QIODevice* data);
|
|
QNetworkReply* QNetworkAccessManager_Post2(QNetworkAccessManager* self, QNetworkRequest* request, struct miqt_string data);
|
|
QNetworkReply* QNetworkAccessManager_Put(QNetworkAccessManager* self, QNetworkRequest* request, QIODevice* data);
|
|
QNetworkReply* QNetworkAccessManager_Put2(QNetworkAccessManager* self, QNetworkRequest* request, struct miqt_string data);
|
|
QNetworkReply* QNetworkAccessManager_DeleteResource(QNetworkAccessManager* self, QNetworkRequest* request);
|
|
QNetworkReply* QNetworkAccessManager_SendCustomRequest(QNetworkAccessManager* self, QNetworkRequest* request, struct miqt_string verb);
|
|
QNetworkReply* QNetworkAccessManager_SendCustomRequest2(QNetworkAccessManager* self, QNetworkRequest* request, struct miqt_string verb, struct miqt_string data);
|
|
QNetworkReply* QNetworkAccessManager_Post3(QNetworkAccessManager* self, QNetworkRequest* request, QHttpMultiPart* multiPart);
|
|
QNetworkReply* QNetworkAccessManager_Put3(QNetworkAccessManager* self, QNetworkRequest* request, QHttpMultiPart* multiPart);
|
|
QNetworkReply* QNetworkAccessManager_SendCustomRequest3(QNetworkAccessManager* self, QNetworkRequest* request, struct miqt_string verb, QHttpMultiPart* multiPart);
|
|
void QNetworkAccessManager_SetConfiguration(QNetworkAccessManager* self, QNetworkConfiguration* config);
|
|
QNetworkConfiguration* QNetworkAccessManager_Configuration(const QNetworkAccessManager* self);
|
|
QNetworkConfiguration* QNetworkAccessManager_ActiveConfiguration(const QNetworkAccessManager* self);
|
|
void QNetworkAccessManager_SetNetworkAccessible(QNetworkAccessManager* self, int accessible);
|
|
int QNetworkAccessManager_NetworkAccessible(const QNetworkAccessManager* self);
|
|
void QNetworkAccessManager_ConnectToHostEncrypted(QNetworkAccessManager* self, struct miqt_string hostName);
|
|
void QNetworkAccessManager_ConnectToHostEncrypted2(QNetworkAccessManager* self, struct miqt_string hostName, uint16_t port, QSslConfiguration* sslConfiguration, struct miqt_string peerName);
|
|
void QNetworkAccessManager_ConnectToHost(QNetworkAccessManager* self, struct miqt_string hostName);
|
|
void QNetworkAccessManager_SetRedirectPolicy(QNetworkAccessManager* self, int policy);
|
|
int QNetworkAccessManager_RedirectPolicy(const QNetworkAccessManager* self);
|
|
bool QNetworkAccessManager_AutoDeleteReplies(const QNetworkAccessManager* self);
|
|
void QNetworkAccessManager_SetAutoDeleteReplies(QNetworkAccessManager* self, bool autoDelete);
|
|
int QNetworkAccessManager_TransferTimeout(const QNetworkAccessManager* self);
|
|
void QNetworkAccessManager_SetTransferTimeout(QNetworkAccessManager* self);
|
|
void QNetworkAccessManager_ProxyAuthenticationRequired(QNetworkAccessManager* self, QNetworkProxy* proxy, QAuthenticator* authenticator);
|
|
void QNetworkAccessManager_connect_ProxyAuthenticationRequired(QNetworkAccessManager* self, intptr_t slot);
|
|
void QNetworkAccessManager_AuthenticationRequired(QNetworkAccessManager* self, QNetworkReply* reply, QAuthenticator* authenticator);
|
|
void QNetworkAccessManager_connect_AuthenticationRequired(QNetworkAccessManager* self, intptr_t slot);
|
|
void QNetworkAccessManager_Finished(QNetworkAccessManager* self, QNetworkReply* reply);
|
|
void QNetworkAccessManager_connect_Finished(QNetworkAccessManager* self, intptr_t slot);
|
|
void QNetworkAccessManager_Encrypted(QNetworkAccessManager* self, QNetworkReply* reply);
|
|
void QNetworkAccessManager_connect_Encrypted(QNetworkAccessManager* self, intptr_t slot);
|
|
void QNetworkAccessManager_SslErrors(QNetworkAccessManager* self, QNetworkReply* reply, struct miqt_array /* of QSslError* */ errors);
|
|
void QNetworkAccessManager_connect_SslErrors(QNetworkAccessManager* self, intptr_t slot);
|
|
void QNetworkAccessManager_PreSharedKeyAuthenticationRequired(QNetworkAccessManager* self, QNetworkReply* reply, QSslPreSharedKeyAuthenticator* authenticator);
|
|
void QNetworkAccessManager_connect_PreSharedKeyAuthenticationRequired(QNetworkAccessManager* self, intptr_t slot);
|
|
void QNetworkAccessManager_NetworkSessionConnected(QNetworkAccessManager* self);
|
|
void QNetworkAccessManager_connect_NetworkSessionConnected(QNetworkAccessManager* self, intptr_t slot);
|
|
void QNetworkAccessManager_NetworkAccessibleChanged(QNetworkAccessManager* self, int accessible);
|
|
void QNetworkAccessManager_connect_NetworkAccessibleChanged(QNetworkAccessManager* self, intptr_t slot);
|
|
QNetworkReply* QNetworkAccessManager_CreateRequest(QNetworkAccessManager* self, int op, QNetworkRequest* request, QIODevice* outgoingData);
|
|
struct miqt_string QNetworkAccessManager_Tr2(const char* s, const char* c);
|
|
struct miqt_string QNetworkAccessManager_Tr3(const char* s, const char* c, int n);
|
|
struct miqt_string QNetworkAccessManager_TrUtf82(const char* s, const char* c);
|
|
struct miqt_string QNetworkAccessManager_TrUtf83(const char* s, const char* c, int n);
|
|
void QNetworkAccessManager_EnableStrictTransportSecurityStore2(QNetworkAccessManager* self, bool enabled, struct miqt_string storeDir);
|
|
QNetworkReply* QNetworkAccessManager_SendCustomRequest32(QNetworkAccessManager* self, QNetworkRequest* request, struct miqt_string verb, QIODevice* data);
|
|
void QNetworkAccessManager_ConnectToHostEncrypted22(QNetworkAccessManager* self, struct miqt_string hostName, uint16_t port);
|
|
void QNetworkAccessManager_ConnectToHostEncrypted3(QNetworkAccessManager* self, struct miqt_string hostName, uint16_t port, QSslConfiguration* sslConfiguration);
|
|
void QNetworkAccessManager_ConnectToHost2(QNetworkAccessManager* self, struct miqt_string hostName, uint16_t port);
|
|
void QNetworkAccessManager_SetTransferTimeout1(QNetworkAccessManager* self, int timeout);
|
|
void QNetworkAccessManager_override_virtual_CreateRequest(void* self, intptr_t slot);
|
|
QNetworkReply* QNetworkAccessManager_virtualbase_CreateRequest(void* self, int op, QNetworkRequest* request, QIODevice* outgoingData);
|
|
void QNetworkAccessManager_override_virtual_Event(void* self, intptr_t slot);
|
|
bool QNetworkAccessManager_virtualbase_Event(void* self, QEvent* event);
|
|
void QNetworkAccessManager_override_virtual_EventFilter(void* self, intptr_t slot);
|
|
bool QNetworkAccessManager_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
|
|
void QNetworkAccessManager_override_virtual_TimerEvent(void* self, intptr_t slot);
|
|
void QNetworkAccessManager_virtualbase_TimerEvent(void* self, QTimerEvent* event);
|
|
void QNetworkAccessManager_override_virtual_ChildEvent(void* self, intptr_t slot);
|
|
void QNetworkAccessManager_virtualbase_ChildEvent(void* self, QChildEvent* event);
|
|
void QNetworkAccessManager_override_virtual_CustomEvent(void* self, intptr_t slot);
|
|
void QNetworkAccessManager_virtualbase_CustomEvent(void* self, QEvent* event);
|
|
void QNetworkAccessManager_override_virtual_ConnectNotify(void* self, intptr_t slot);
|
|
void QNetworkAccessManager_virtualbase_ConnectNotify(void* self, QMetaMethod* signal);
|
|
void QNetworkAccessManager_override_virtual_DisconnectNotify(void* self, intptr_t slot);
|
|
void QNetworkAccessManager_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
|
|
void QNetworkAccessManager_Delete(QNetworkAccessManager* self, bool isSubclass);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|