2024-11-17 19:21:37 +13:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_NETWORK_GEN_QNETWORKSESSION_H
|
|
|
|
#define MIQT_QT_NETWORK_GEN_QNETWORKSESSION_H
|
2024-11-04 22:53:04 +13: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
|
2024-11-19 19:29:06 +13:00
|
|
|
class QChildEvent;
|
|
|
|
class QEvent;
|
|
|
|
class QMetaMethod;
|
2024-11-04 22:53:04 +13:00
|
|
|
class QMetaObject;
|
|
|
|
class QNetworkConfiguration;
|
|
|
|
class QNetworkInterface;
|
|
|
|
class QNetworkSession;
|
|
|
|
class QObject;
|
2024-11-19 19:29:06 +13:00
|
|
|
class QTimerEvent;
|
2024-11-04 22:53:04 +13:00
|
|
|
class QVariant;
|
|
|
|
#else
|
2024-11-19 19:29:06 +13:00
|
|
|
typedef struct QChildEvent QChildEvent;
|
|
|
|
typedef struct QEvent QEvent;
|
|
|
|
typedef struct QMetaMethod QMetaMethod;
|
2024-11-04 22:53:04 +13:00
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QNetworkConfiguration QNetworkConfiguration;
|
|
|
|
typedef struct QNetworkInterface QNetworkInterface;
|
|
|
|
typedef struct QNetworkSession QNetworkSession;
|
|
|
|
typedef struct QObject QObject;
|
2024-11-19 19:29:06 +13:00
|
|
|
typedef struct QTimerEvent QTimerEvent;
|
2024-11-04 22:53:04 +13:00
|
|
|
typedef struct QVariant QVariant;
|
|
|
|
#endif
|
|
|
|
|
2024-12-07 17:15:57 +13:00
|
|
|
QNetworkSession* QNetworkSession_new(QNetworkConfiguration* connConfig);
|
|
|
|
QNetworkSession* QNetworkSession_new2(QNetworkConfiguration* connConfig, QObject* parent);
|
|
|
|
void QNetworkSession_virtbase(QNetworkSession* src, QObject** outptr_QObject);
|
2025-02-01 13:45:16 +13:00
|
|
|
QMetaObject* QNetworkSession_metaObject(const QNetworkSession* self);
|
|
|
|
void* QNetworkSession_metacast(QNetworkSession* self, const char* param1);
|
|
|
|
struct miqt_string QNetworkSession_tr(const char* s);
|
|
|
|
struct miqt_string QNetworkSession_trUtf8(const char* s);
|
|
|
|
bool QNetworkSession_isOpen(const QNetworkSession* self);
|
|
|
|
QNetworkConfiguration* QNetworkSession_configuration(const QNetworkSession* self);
|
|
|
|
QNetworkInterface* QNetworkSession_interface(const QNetworkSession* self);
|
|
|
|
int QNetworkSession_state(const QNetworkSession* self);
|
|
|
|
int QNetworkSession_error(const QNetworkSession* self);
|
|
|
|
struct miqt_string QNetworkSession_errorString(const QNetworkSession* self);
|
|
|
|
QVariant* QNetworkSession_sessionProperty(const QNetworkSession* self, struct miqt_string key);
|
|
|
|
void QNetworkSession_setSessionProperty(QNetworkSession* self, struct miqt_string key, QVariant* value);
|
|
|
|
unsigned long long QNetworkSession_bytesWritten(const QNetworkSession* self);
|
|
|
|
unsigned long long QNetworkSession_bytesReceived(const QNetworkSession* self);
|
|
|
|
unsigned long long QNetworkSession_activeTime(const QNetworkSession* self);
|
|
|
|
int QNetworkSession_usagePolicies(const QNetworkSession* self);
|
|
|
|
bool QNetworkSession_waitForOpened(QNetworkSession* self);
|
|
|
|
void QNetworkSession_open(QNetworkSession* self);
|
|
|
|
void QNetworkSession_close(QNetworkSession* self);
|
|
|
|
void QNetworkSession_stop(QNetworkSession* self);
|
|
|
|
void QNetworkSession_migrate(QNetworkSession* self);
|
|
|
|
void QNetworkSession_ignore(QNetworkSession* self);
|
|
|
|
void QNetworkSession_accept(QNetworkSession* self);
|
|
|
|
void QNetworkSession_reject(QNetworkSession* self);
|
|
|
|
void QNetworkSession_stateChanged(QNetworkSession* self, int param1);
|
|
|
|
void QNetworkSession_connect_stateChanged(QNetworkSession* self, intptr_t slot);
|
|
|
|
void QNetworkSession_opened(QNetworkSession* self);
|
|
|
|
void QNetworkSession_connect_opened(QNetworkSession* self, intptr_t slot);
|
|
|
|
void QNetworkSession_closed(QNetworkSession* self);
|
|
|
|
void QNetworkSession_connect_closed(QNetworkSession* self, intptr_t slot);
|
|
|
|
void QNetworkSession_errorWithQNetworkSessionSessionError(QNetworkSession* self, int param1);
|
|
|
|
void QNetworkSession_connect_errorWithQNetworkSessionSessionError(QNetworkSession* self, intptr_t slot);
|
|
|
|
void QNetworkSession_preferredConfigurationChanged(QNetworkSession* self, QNetworkConfiguration* config, bool isSeamless);
|
|
|
|
void QNetworkSession_connect_preferredConfigurationChanged(QNetworkSession* self, intptr_t slot);
|
|
|
|
void QNetworkSession_newConfigurationActivated(QNetworkSession* self);
|
|
|
|
void QNetworkSession_connect_newConfigurationActivated(QNetworkSession* self, intptr_t slot);
|
|
|
|
void QNetworkSession_usagePoliciesChanged(QNetworkSession* self, int usagePolicies);
|
|
|
|
void QNetworkSession_connect_usagePoliciesChanged(QNetworkSession* self, intptr_t slot);
|
|
|
|
void QNetworkSession_connectNotify(QNetworkSession* self, QMetaMethod* signal);
|
|
|
|
void QNetworkSession_disconnectNotify(QNetworkSession* self, QMetaMethod* signal);
|
|
|
|
struct miqt_string QNetworkSession_tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QNetworkSession_tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QNetworkSession_trUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QNetworkSession_trUtf83(const char* s, const char* c, int n);
|
|
|
|
bool QNetworkSession_waitForOpened1(QNetworkSession* self, int msecs);
|
|
|
|
bool QNetworkSession_override_virtual_connectNotify(void* self, intptr_t slot);
|
|
|
|
void QNetworkSession_virtualbase_connectNotify(void* self, QMetaMethod* signal);
|
|
|
|
bool QNetworkSession_override_virtual_disconnectNotify(void* self, intptr_t slot);
|
|
|
|
void QNetworkSession_virtualbase_disconnectNotify(void* self, QMetaMethod* signal);
|
|
|
|
bool QNetworkSession_override_virtual_event(void* self, intptr_t slot);
|
|
|
|
bool QNetworkSession_virtualbase_event(void* self, QEvent* event);
|
|
|
|
bool QNetworkSession_override_virtual_eventFilter(void* self, intptr_t slot);
|
|
|
|
bool QNetworkSession_virtualbase_eventFilter(void* self, QObject* watched, QEvent* event);
|
|
|
|
bool QNetworkSession_override_virtual_timerEvent(void* self, intptr_t slot);
|
|
|
|
void QNetworkSession_virtualbase_timerEvent(void* self, QTimerEvent* event);
|
|
|
|
bool QNetworkSession_override_virtual_childEvent(void* self, intptr_t slot);
|
|
|
|
void QNetworkSession_virtualbase_childEvent(void* self, QChildEvent* event);
|
|
|
|
bool QNetworkSession_override_virtual_customEvent(void* self, intptr_t slot);
|
|
|
|
void QNetworkSession_virtualbase_customEvent(void* self, QEvent* event);
|
|
|
|
void QNetworkSession_delete(QNetworkSession* self);
|
2024-11-04 22:53:04 +13:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
2025-02-01 13:45:16 +13:00
|
|
|
#endif
|
2024-11-04 22:53:04 +13:00
|
|
|
|
|
|
|
#endif
|