miqt/qt/network/gen_qlocalserver.h

96 lines
4.6 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT_NETWORK_GEN_QLOCALSERVER_H
#define MIQT_QT_NETWORK_GEN_QLOCALSERVER_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
2024-11-19 06:29:06 +00:00
class QChildEvent;
class QEvent;
2024-11-04 09:53:04 +00:00
class QLocalServer;
class QLocalSocket;
2024-11-19 06:29:06 +00:00
class QMetaMethod;
2024-11-04 09:53:04 +00:00
class QMetaObject;
class QObject;
2024-11-19 06:29:06 +00:00
class QTimerEvent;
2024-11-04 09:53:04 +00:00
#else
2024-11-19 06:29:06 +00:00
typedef struct QChildEvent QChildEvent;
typedef struct QEvent QEvent;
2024-11-04 09:53:04 +00:00
typedef struct QLocalServer QLocalServer;
typedef struct QLocalSocket QLocalSocket;
2024-11-19 06:29:06 +00:00
typedef struct QMetaMethod QMetaMethod;
2024-11-04 09:53:04 +00:00
typedef struct QMetaObject QMetaObject;
typedef struct QObject QObject;
2024-11-19 06:29:06 +00:00
typedef struct QTimerEvent QTimerEvent;
2024-11-04 09:53:04 +00:00
#endif
2024-11-19 06:29:06 +00:00
void QLocalServer_new(QLocalServer** outptr_QLocalServer, QObject** outptr_QObject);
void QLocalServer_new2(QObject* parent, QLocalServer** outptr_QLocalServer, QObject** outptr_QObject);
2024-11-04 09:53:04 +00:00
QMetaObject* QLocalServer_MetaObject(const QLocalServer* self);
void* QLocalServer_Metacast(QLocalServer* self, const char* param1);
struct miqt_string QLocalServer_Tr(const char* s);
struct miqt_string QLocalServer_TrUtf8(const char* s);
void QLocalServer_NewConnection(QLocalServer* self);
void QLocalServer_connect_NewConnection(QLocalServer* self, intptr_t slot);
void QLocalServer_Close(QLocalServer* self);
struct miqt_string QLocalServer_ErrorString(const QLocalServer* self);
bool QLocalServer_HasPendingConnections(const QLocalServer* self);
bool QLocalServer_IsListening(const QLocalServer* self);
bool QLocalServer_Listen(QLocalServer* self, struct miqt_string name);
bool QLocalServer_ListenWithSocketDescriptor(QLocalServer* self, intptr_t socketDescriptor);
int QLocalServer_MaxPendingConnections(const QLocalServer* self);
QLocalSocket* QLocalServer_NextPendingConnection(QLocalServer* self);
struct miqt_string QLocalServer_ServerName(const QLocalServer* self);
struct miqt_string QLocalServer_FullServerName(const QLocalServer* self);
bool QLocalServer_RemoveServer(struct miqt_string name);
int QLocalServer_ServerError(const QLocalServer* self);
void QLocalServer_SetMaxPendingConnections(QLocalServer* self, int numConnections);
bool QLocalServer_WaitForNewConnection(QLocalServer* self);
void QLocalServer_SetSocketOptions(QLocalServer* self, int options);
int QLocalServer_SocketOptions(const QLocalServer* self);
intptr_t QLocalServer_SocketDescriptor(const QLocalServer* self);
2024-11-19 06:29:06 +00:00
void QLocalServer_IncomingConnection(QLocalServer* self, uintptr_t socketDescriptor);
2024-11-04 09:53:04 +00:00
struct miqt_string QLocalServer_Tr2(const char* s, const char* c);
struct miqt_string QLocalServer_Tr3(const char* s, const char* c, int n);
struct miqt_string QLocalServer_TrUtf82(const char* s, const char* c);
struct miqt_string QLocalServer_TrUtf83(const char* s, const char* c, int n);
bool QLocalServer_WaitForNewConnection1(QLocalServer* self, int msec);
bool QLocalServer_WaitForNewConnection2(QLocalServer* self, int msec, bool* timedOut);
2024-11-19 06:29:06 +00:00
void QLocalServer_override_virtual_HasPendingConnections(void* self, intptr_t slot);
bool QLocalServer_virtualbase_HasPendingConnections(const void* self);
void QLocalServer_override_virtual_NextPendingConnection(void* self, intptr_t slot);
QLocalSocket* QLocalServer_virtualbase_NextPendingConnection(void* self);
void QLocalServer_override_virtual_IncomingConnection(void* self, intptr_t slot);
void QLocalServer_virtualbase_IncomingConnection(void* self, uintptr_t socketDescriptor);
void QLocalServer_override_virtual_Event(void* self, intptr_t slot);
bool QLocalServer_virtualbase_Event(void* self, QEvent* event);
void QLocalServer_override_virtual_EventFilter(void* self, intptr_t slot);
bool QLocalServer_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
void QLocalServer_override_virtual_TimerEvent(void* self, intptr_t slot);
void QLocalServer_virtualbase_TimerEvent(void* self, QTimerEvent* event);
void QLocalServer_override_virtual_ChildEvent(void* self, intptr_t slot);
void QLocalServer_virtualbase_ChildEvent(void* self, QChildEvent* event);
void QLocalServer_override_virtual_CustomEvent(void* self, intptr_t slot);
void QLocalServer_virtualbase_CustomEvent(void* self, QEvent* event);
void QLocalServer_override_virtual_ConnectNotify(void* self, intptr_t slot);
void QLocalServer_virtualbase_ConnectNotify(void* self, QMetaMethod* signal);
void QLocalServer_override_virtual_DisconnectNotify(void* self, intptr_t slot);
void QLocalServer_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
void QLocalServer_Delete(QLocalServer* self, bool isSubclass);
2024-11-04 09:53:04 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif