mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
105 lines
4.7 KiB
C++
105 lines
4.7 KiB
C++
#pragma once
|
|
#ifndef MIQT_QT6_NETWORK_GEN_QTCPSERVER_H
|
|
#define MIQT_QT6_NETWORK_GEN_QTCPSERVER_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 QChildEvent;
|
|
class QEvent;
|
|
class QHostAddress;
|
|
class QMetaMethod;
|
|
class QMetaObject;
|
|
class QNetworkProxy;
|
|
class QObject;
|
|
class QTcpServer;
|
|
class QTcpSocket;
|
|
class QTimerEvent;
|
|
#else
|
|
typedef struct QChildEvent QChildEvent;
|
|
typedef struct QEvent QEvent;
|
|
typedef struct QHostAddress QHostAddress;
|
|
typedef struct QMetaMethod QMetaMethod;
|
|
typedef struct QMetaObject QMetaObject;
|
|
typedef struct QNetworkProxy QNetworkProxy;
|
|
typedef struct QObject QObject;
|
|
typedef struct QTcpServer QTcpServer;
|
|
typedef struct QTcpSocket QTcpSocket;
|
|
typedef struct QTimerEvent QTimerEvent;
|
|
#endif
|
|
|
|
QTcpServer* QTcpServer_new();
|
|
QTcpServer* QTcpServer_new2(QObject* parent);
|
|
void QTcpServer_virtbase(QTcpServer* src, QObject** outptr_QObject);
|
|
QMetaObject* QTcpServer_MetaObject(const QTcpServer* self);
|
|
void* QTcpServer_Metacast(QTcpServer* self, const char* param1);
|
|
struct miqt_string QTcpServer_Tr(const char* s);
|
|
bool QTcpServer_Listen(QTcpServer* self);
|
|
void QTcpServer_Close(QTcpServer* self);
|
|
bool QTcpServer_IsListening(const QTcpServer* self);
|
|
void QTcpServer_SetMaxPendingConnections(QTcpServer* self, int numConnections);
|
|
int QTcpServer_MaxPendingConnections(const QTcpServer* self);
|
|
void QTcpServer_SetListenBacklogSize(QTcpServer* self, int size);
|
|
int QTcpServer_ListenBacklogSize(const QTcpServer* self);
|
|
uint16_t QTcpServer_ServerPort(const QTcpServer* self);
|
|
QHostAddress* QTcpServer_ServerAddress(const QTcpServer* self);
|
|
intptr_t QTcpServer_SocketDescriptor(const QTcpServer* self);
|
|
bool QTcpServer_SetSocketDescriptor(QTcpServer* self, intptr_t socketDescriptor);
|
|
bool QTcpServer_WaitForNewConnection(QTcpServer* self);
|
|
bool QTcpServer_HasPendingConnections(const QTcpServer* self);
|
|
QTcpSocket* QTcpServer_NextPendingConnection(QTcpServer* self);
|
|
int QTcpServer_ServerError(const QTcpServer* self);
|
|
struct miqt_string QTcpServer_ErrorString(const QTcpServer* self);
|
|
void QTcpServer_PauseAccepting(QTcpServer* self);
|
|
void QTcpServer_ResumeAccepting(QTcpServer* self);
|
|
void QTcpServer_SetProxy(QTcpServer* self, QNetworkProxy* networkProxy);
|
|
QNetworkProxy* QTcpServer_Proxy(const QTcpServer* self);
|
|
void QTcpServer_IncomingConnection(QTcpServer* self, intptr_t handle);
|
|
void QTcpServer_NewConnection(QTcpServer* self);
|
|
void QTcpServer_connect_NewConnection(QTcpServer* self, intptr_t slot);
|
|
void QTcpServer_AcceptError(QTcpServer* self, int socketError);
|
|
void QTcpServer_connect_AcceptError(QTcpServer* self, intptr_t slot);
|
|
struct miqt_string QTcpServer_Tr2(const char* s, const char* c);
|
|
struct miqt_string QTcpServer_Tr3(const char* s, const char* c, int n);
|
|
bool QTcpServer_Listen1(QTcpServer* self, QHostAddress* address);
|
|
bool QTcpServer_Listen2(QTcpServer* self, QHostAddress* address, uint16_t port);
|
|
bool QTcpServer_WaitForNewConnection1(QTcpServer* self, int msec);
|
|
bool QTcpServer_WaitForNewConnection2(QTcpServer* self, int msec, bool* timedOut);
|
|
void QTcpServer_override_virtual_HasPendingConnections(void* self, intptr_t slot);
|
|
bool QTcpServer_virtualbase_HasPendingConnections(const void* self);
|
|
void QTcpServer_override_virtual_NextPendingConnection(void* self, intptr_t slot);
|
|
QTcpSocket* QTcpServer_virtualbase_NextPendingConnection(void* self);
|
|
void QTcpServer_override_virtual_IncomingConnection(void* self, intptr_t slot);
|
|
void QTcpServer_virtualbase_IncomingConnection(void* self, intptr_t handle);
|
|
void QTcpServer_override_virtual_Event(void* self, intptr_t slot);
|
|
bool QTcpServer_virtualbase_Event(void* self, QEvent* event);
|
|
void QTcpServer_override_virtual_EventFilter(void* self, intptr_t slot);
|
|
bool QTcpServer_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
|
|
void QTcpServer_override_virtual_TimerEvent(void* self, intptr_t slot);
|
|
void QTcpServer_virtualbase_TimerEvent(void* self, QTimerEvent* event);
|
|
void QTcpServer_override_virtual_ChildEvent(void* self, intptr_t slot);
|
|
void QTcpServer_virtualbase_ChildEvent(void* self, QChildEvent* event);
|
|
void QTcpServer_override_virtual_CustomEvent(void* self, intptr_t slot);
|
|
void QTcpServer_virtualbase_CustomEvent(void* self, QEvent* event);
|
|
void QTcpServer_override_virtual_ConnectNotify(void* self, intptr_t slot);
|
|
void QTcpServer_virtualbase_ConnectNotify(void* self, QMetaMethod* signal);
|
|
void QTcpServer_override_virtual_DisconnectNotify(void* self, intptr_t slot);
|
|
void QTcpServer_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
|
|
void QTcpServer_Delete(QTcpServer* self, bool isSubclass);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|