2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_NETWORK_GEN_QNETWORKPROXY_H
|
|
|
|
#define MIQT_QT_NETWORK_GEN_QNETWORKPROXY_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;
|
|
|
|
class QNetworkConfiguration;
|
|
|
|
class QNetworkProxy;
|
|
|
|
class QNetworkProxyFactory;
|
|
|
|
class QNetworkProxyQuery;
|
|
|
|
class QUrl;
|
|
|
|
class QVariant;
|
|
|
|
#else
|
|
|
|
typedef struct QByteArray QByteArray;
|
|
|
|
typedef struct QNetworkConfiguration QNetworkConfiguration;
|
|
|
|
typedef struct QNetworkProxy QNetworkProxy;
|
|
|
|
typedef struct QNetworkProxyFactory QNetworkProxyFactory;
|
|
|
|
typedef struct QNetworkProxyQuery QNetworkProxyQuery;
|
|
|
|
typedef struct QUrl QUrl;
|
|
|
|
typedef struct QVariant QVariant;
|
|
|
|
#endif
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QNetworkProxyQuery_new(QNetworkProxyQuery** outptr_QNetworkProxyQuery);
|
|
|
|
void QNetworkProxyQuery_new2(QUrl* requestUrl, QNetworkProxyQuery** outptr_QNetworkProxyQuery);
|
|
|
|
void QNetworkProxyQuery_new3(struct miqt_string hostname, int port, QNetworkProxyQuery** outptr_QNetworkProxyQuery);
|
|
|
|
void QNetworkProxyQuery_new4(uint16_t bindPort, QNetworkProxyQuery** outptr_QNetworkProxyQuery);
|
|
|
|
void QNetworkProxyQuery_new5(QNetworkConfiguration* networkConfiguration, QUrl* requestUrl, QNetworkProxyQuery** outptr_QNetworkProxyQuery);
|
|
|
|
void QNetworkProxyQuery_new6(QNetworkConfiguration* networkConfiguration, struct miqt_string hostname, int port, QNetworkProxyQuery** outptr_QNetworkProxyQuery);
|
|
|
|
void QNetworkProxyQuery_new7(QNetworkConfiguration* networkConfiguration, uint16_t bindPort, QNetworkProxyQuery** outptr_QNetworkProxyQuery);
|
|
|
|
void QNetworkProxyQuery_new8(QNetworkProxyQuery* other, QNetworkProxyQuery** outptr_QNetworkProxyQuery);
|
|
|
|
void QNetworkProxyQuery_new9(QUrl* requestUrl, int queryType, QNetworkProxyQuery** outptr_QNetworkProxyQuery);
|
|
|
|
void QNetworkProxyQuery_new10(struct miqt_string hostname, int port, struct miqt_string protocolTag, QNetworkProxyQuery** outptr_QNetworkProxyQuery);
|
|
|
|
void QNetworkProxyQuery_new11(struct miqt_string hostname, int port, struct miqt_string protocolTag, int queryType, QNetworkProxyQuery** outptr_QNetworkProxyQuery);
|
|
|
|
void QNetworkProxyQuery_new12(uint16_t bindPort, struct miqt_string protocolTag, QNetworkProxyQuery** outptr_QNetworkProxyQuery);
|
|
|
|
void QNetworkProxyQuery_new13(uint16_t bindPort, struct miqt_string protocolTag, int queryType, QNetworkProxyQuery** outptr_QNetworkProxyQuery);
|
|
|
|
void QNetworkProxyQuery_new14(QNetworkConfiguration* networkConfiguration, QUrl* requestUrl, int queryType, QNetworkProxyQuery** outptr_QNetworkProxyQuery);
|
|
|
|
void QNetworkProxyQuery_new15(QNetworkConfiguration* networkConfiguration, struct miqt_string hostname, int port, struct miqt_string protocolTag, QNetworkProxyQuery** outptr_QNetworkProxyQuery);
|
|
|
|
void QNetworkProxyQuery_new16(QNetworkConfiguration* networkConfiguration, struct miqt_string hostname, int port, struct miqt_string protocolTag, int queryType, QNetworkProxyQuery** outptr_QNetworkProxyQuery);
|
|
|
|
void QNetworkProxyQuery_new17(QNetworkConfiguration* networkConfiguration, uint16_t bindPort, struct miqt_string protocolTag, QNetworkProxyQuery** outptr_QNetworkProxyQuery);
|
|
|
|
void QNetworkProxyQuery_new18(QNetworkConfiguration* networkConfiguration, uint16_t bindPort, struct miqt_string protocolTag, int queryType, QNetworkProxyQuery** outptr_QNetworkProxyQuery);
|
2024-11-04 09:53:04 +00:00
|
|
|
void QNetworkProxyQuery_OperatorAssign(QNetworkProxyQuery* self, QNetworkProxyQuery* other);
|
|
|
|
void QNetworkProxyQuery_Swap(QNetworkProxyQuery* self, QNetworkProxyQuery* other);
|
|
|
|
bool QNetworkProxyQuery_OperatorEqual(const QNetworkProxyQuery* self, QNetworkProxyQuery* other);
|
|
|
|
bool QNetworkProxyQuery_OperatorNotEqual(const QNetworkProxyQuery* self, QNetworkProxyQuery* other);
|
|
|
|
int QNetworkProxyQuery_QueryType(const QNetworkProxyQuery* self);
|
|
|
|
void QNetworkProxyQuery_SetQueryType(QNetworkProxyQuery* self, int typeVal);
|
|
|
|
int QNetworkProxyQuery_PeerPort(const QNetworkProxyQuery* self);
|
|
|
|
void QNetworkProxyQuery_SetPeerPort(QNetworkProxyQuery* self, int port);
|
|
|
|
struct miqt_string QNetworkProxyQuery_PeerHostName(const QNetworkProxyQuery* self);
|
|
|
|
void QNetworkProxyQuery_SetPeerHostName(QNetworkProxyQuery* self, struct miqt_string hostname);
|
|
|
|
int QNetworkProxyQuery_LocalPort(const QNetworkProxyQuery* self);
|
|
|
|
void QNetworkProxyQuery_SetLocalPort(QNetworkProxyQuery* self, int port);
|
|
|
|
struct miqt_string QNetworkProxyQuery_ProtocolTag(const QNetworkProxyQuery* self);
|
|
|
|
void QNetworkProxyQuery_SetProtocolTag(QNetworkProxyQuery* self, struct miqt_string protocolTag);
|
|
|
|
QUrl* QNetworkProxyQuery_Url(const QNetworkProxyQuery* self);
|
|
|
|
void QNetworkProxyQuery_SetUrl(QNetworkProxyQuery* self, QUrl* url);
|
|
|
|
QNetworkConfiguration* QNetworkProxyQuery_NetworkConfiguration(const QNetworkProxyQuery* self);
|
|
|
|
void QNetworkProxyQuery_SetNetworkConfiguration(QNetworkProxyQuery* self, QNetworkConfiguration* networkConfiguration);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QNetworkProxyQuery_Delete(QNetworkProxyQuery* self, bool isSubclass);
|
2024-11-04 09:53:04 +00:00
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QNetworkProxy_new(QNetworkProxy** outptr_QNetworkProxy);
|
|
|
|
void QNetworkProxy_new2(int typeVal, QNetworkProxy** outptr_QNetworkProxy);
|
|
|
|
void QNetworkProxy_new3(QNetworkProxy* other, QNetworkProxy** outptr_QNetworkProxy);
|
|
|
|
void QNetworkProxy_new4(int typeVal, struct miqt_string hostName, QNetworkProxy** outptr_QNetworkProxy);
|
|
|
|
void QNetworkProxy_new5(int typeVal, struct miqt_string hostName, uint16_t port, QNetworkProxy** outptr_QNetworkProxy);
|
|
|
|
void QNetworkProxy_new6(int typeVal, struct miqt_string hostName, uint16_t port, struct miqt_string user, QNetworkProxy** outptr_QNetworkProxy);
|
|
|
|
void QNetworkProxy_new7(int typeVal, struct miqt_string hostName, uint16_t port, struct miqt_string user, struct miqt_string password, QNetworkProxy** outptr_QNetworkProxy);
|
2024-11-04 09:53:04 +00:00
|
|
|
void QNetworkProxy_OperatorAssign(QNetworkProxy* self, QNetworkProxy* other);
|
|
|
|
void QNetworkProxy_Swap(QNetworkProxy* self, QNetworkProxy* other);
|
|
|
|
bool QNetworkProxy_OperatorEqual(const QNetworkProxy* self, QNetworkProxy* other);
|
|
|
|
bool QNetworkProxy_OperatorNotEqual(const QNetworkProxy* self, QNetworkProxy* other);
|
|
|
|
void QNetworkProxy_SetType(QNetworkProxy* self, int typeVal);
|
|
|
|
int QNetworkProxy_Type(const QNetworkProxy* self);
|
|
|
|
void QNetworkProxy_SetCapabilities(QNetworkProxy* self, int capab);
|
|
|
|
int QNetworkProxy_Capabilities(const QNetworkProxy* self);
|
|
|
|
bool QNetworkProxy_IsCachingProxy(const QNetworkProxy* self);
|
|
|
|
bool QNetworkProxy_IsTransparentProxy(const QNetworkProxy* self);
|
|
|
|
void QNetworkProxy_SetUser(QNetworkProxy* self, struct miqt_string userName);
|
|
|
|
struct miqt_string QNetworkProxy_User(const QNetworkProxy* self);
|
|
|
|
void QNetworkProxy_SetPassword(QNetworkProxy* self, struct miqt_string password);
|
|
|
|
struct miqt_string QNetworkProxy_Password(const QNetworkProxy* self);
|
|
|
|
void QNetworkProxy_SetHostName(QNetworkProxy* self, struct miqt_string hostName);
|
|
|
|
struct miqt_string QNetworkProxy_HostName(const QNetworkProxy* self);
|
|
|
|
void QNetworkProxy_SetPort(QNetworkProxy* self, uint16_t port);
|
|
|
|
uint16_t QNetworkProxy_Port(const QNetworkProxy* self);
|
|
|
|
void QNetworkProxy_SetApplicationProxy(QNetworkProxy* proxy);
|
|
|
|
QNetworkProxy* QNetworkProxy_ApplicationProxy();
|
|
|
|
QVariant* QNetworkProxy_Header(const QNetworkProxy* self, int header);
|
|
|
|
void QNetworkProxy_SetHeader(QNetworkProxy* self, int header, QVariant* value);
|
|
|
|
bool QNetworkProxy_HasRawHeader(const QNetworkProxy* self, struct miqt_string headerName);
|
2024-11-17 06:21:37 +00:00
|
|
|
struct miqt_array /* of struct miqt_string */ QNetworkProxy_RawHeaderList(const QNetworkProxy* self);
|
2024-11-04 09:53:04 +00:00
|
|
|
struct miqt_string QNetworkProxy_RawHeader(const QNetworkProxy* self, struct miqt_string headerName);
|
|
|
|
void QNetworkProxy_SetRawHeader(QNetworkProxy* self, struct miqt_string headerName, struct miqt_string value);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QNetworkProxy_Delete(QNetworkProxy* self, bool isSubclass);
|
2024-11-04 09:53:04 +00:00
|
|
|
|
2024-11-23 06:34:52 +00:00
|
|
|
void QNetworkProxyFactory_new(QNetworkProxyFactory** outptr_QNetworkProxyFactory);
|
2024-11-19 06:29:06 +00:00
|
|
|
struct miqt_array /* of QNetworkProxy* */ QNetworkProxyFactory_QueryProxy(QNetworkProxyFactory* self, QNetworkProxyQuery* query);
|
2024-11-04 09:53:04 +00:00
|
|
|
bool QNetworkProxyFactory_UsesSystemConfiguration();
|
|
|
|
void QNetworkProxyFactory_SetUseSystemConfiguration(bool enable);
|
|
|
|
void QNetworkProxyFactory_SetApplicationProxyFactory(QNetworkProxyFactory* factory);
|
2024-11-17 06:21:37 +00:00
|
|
|
struct miqt_array /* of QNetworkProxy* */ QNetworkProxyFactory_ProxyForQuery(QNetworkProxyQuery* query);
|
|
|
|
struct miqt_array /* of QNetworkProxy* */ QNetworkProxyFactory_SystemProxyForQuery();
|
2024-11-04 09:53:04 +00:00
|
|
|
void QNetworkProxyFactory_OperatorAssign(QNetworkProxyFactory* self, QNetworkProxyFactory* param1);
|
2024-11-17 06:21:37 +00:00
|
|
|
struct miqt_array /* of QNetworkProxy* */ QNetworkProxyFactory_SystemProxyForQuery1(QNetworkProxyQuery* query);
|
2024-11-23 06:34:52 +00:00
|
|
|
void QNetworkProxyFactory_override_virtual_QueryProxy(void* self, intptr_t slot);
|
|
|
|
struct miqt_array /* of QNetworkProxy* */ QNetworkProxyFactory_virtualbase_QueryProxy(void* self, QNetworkProxyQuery* query);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QNetworkProxyFactory_Delete(QNetworkProxyFactory* self, bool isSubclass);
|
2024-11-04 09:53:04 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|