miqt/qt/network/gen_qnetworkconfiguration.h

48 lines
2.0 KiB
C
Raw Normal View History

2024-11-04 09:53:04 +00:00
#ifndef GEN_QNETWORKCONFIGURATION_H
#define GEN_QNETWORKCONFIGURATION_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 QNetworkConfiguration;
#else
typedef struct QNetworkConfiguration QNetworkConfiguration;
#endif
QNetworkConfiguration* QNetworkConfiguration_new();
QNetworkConfiguration* QNetworkConfiguration_new2(QNetworkConfiguration* other);
void QNetworkConfiguration_OperatorAssign(QNetworkConfiguration* self, QNetworkConfiguration* other);
void QNetworkConfiguration_Swap(QNetworkConfiguration* self, QNetworkConfiguration* other);
bool QNetworkConfiguration_OperatorEqual(const QNetworkConfiguration* self, QNetworkConfiguration* other);
bool QNetworkConfiguration_OperatorNotEqual(const QNetworkConfiguration* self, QNetworkConfiguration* other);
int QNetworkConfiguration_State(const QNetworkConfiguration* self);
int QNetworkConfiguration_Type(const QNetworkConfiguration* self);
int QNetworkConfiguration_Purpose(const QNetworkConfiguration* self);
int QNetworkConfiguration_BearerType(const QNetworkConfiguration* self);
int QNetworkConfiguration_BearerTypeFamily(const QNetworkConfiguration* self);
struct miqt_string QNetworkConfiguration_BearerTypeName(const QNetworkConfiguration* self);
struct miqt_string QNetworkConfiguration_Identifier(const QNetworkConfiguration* self);
bool QNetworkConfiguration_IsRoamingAvailable(const QNetworkConfiguration* self);
struct miqt_array QNetworkConfiguration_Children(const QNetworkConfiguration* self);
struct miqt_string QNetworkConfiguration_Name(const QNetworkConfiguration* self);
bool QNetworkConfiguration_IsValid(const QNetworkConfiguration* self);
int QNetworkConfiguration_ConnectTimeout(const QNetworkConfiguration* self);
bool QNetworkConfiguration_SetConnectTimeout(QNetworkConfiguration* self, int timeout);
void QNetworkConfiguration_Delete(QNetworkConfiguration* self);
#ifdef __cplusplus
} /* extern C */
#endif
#endif