miqt/qt6/gen_qoffscreensurface.h

91 lines
4.0 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT6_GEN_QOFFSCREENSURFACE_H
#define MIQT_QT6_GEN_QOFFSCREENSURFACE_H
2024-10-20 05:21:03 +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;
class QMetaMethod;
2024-10-20 05:21:03 +00:00
class QMetaObject;
class QObject;
class QOffscreenSurface;
class QScreen;
class QSize;
2024-11-19 06:29:06 +00:00
class QSurface;
2024-10-20 05:21:03 +00:00
class QSurfaceFormat;
2024-11-19 06:29:06 +00:00
class QTimerEvent;
2024-10-20 05:21:03 +00:00
#else
2024-11-19 06:29:06 +00:00
typedef struct QChildEvent QChildEvent;
typedef struct QEvent QEvent;
typedef struct QMetaMethod QMetaMethod;
2024-10-20 05:21:03 +00:00
typedef struct QMetaObject QMetaObject;
typedef struct QObject QObject;
typedef struct QOffscreenSurface QOffscreenSurface;
typedef struct QScreen QScreen;
typedef struct QSize QSize;
2024-11-19 06:29:06 +00:00
typedef struct QSurface QSurface;
2024-10-20 05:21:03 +00:00
typedef struct QSurfaceFormat QSurfaceFormat;
2024-11-19 06:29:06 +00:00
typedef struct QTimerEvent QTimerEvent;
2024-10-20 05:21:03 +00:00
#endif
2024-12-07 04:15:57 +00:00
QOffscreenSurface* QOffscreenSurface_new();
QOffscreenSurface* QOffscreenSurface_new2(QScreen* screen);
QOffscreenSurface* QOffscreenSurface_new3(QScreen* screen, QObject* parent);
void QOffscreenSurface_virtbase(QOffscreenSurface* src, QObject** outptr_QObject, QSurface** outptr_QSurface);
2024-10-20 05:21:03 +00:00
QMetaObject* QOffscreenSurface_MetaObject(const QOffscreenSurface* self);
void* QOffscreenSurface_Metacast(QOffscreenSurface* self, const char* param1);
struct miqt_string QOffscreenSurface_Tr(const char* s);
int QOffscreenSurface_SurfaceType(const QOffscreenSurface* self);
void QOffscreenSurface_Create(QOffscreenSurface* self);
void QOffscreenSurface_Destroy(QOffscreenSurface* self);
bool QOffscreenSurface_IsValid(const QOffscreenSurface* self);
void QOffscreenSurface_SetFormat(QOffscreenSurface* self, QSurfaceFormat* format);
QSurfaceFormat* QOffscreenSurface_Format(const QOffscreenSurface* self);
QSurfaceFormat* QOffscreenSurface_RequestedFormat(const QOffscreenSurface* self);
QSize* QOffscreenSurface_Size(const QOffscreenSurface* self);
QScreen* QOffscreenSurface_Screen(const QOffscreenSurface* self);
void QOffscreenSurface_SetScreen(QOffscreenSurface* self, QScreen* screen);
void QOffscreenSurface_ScreenChanged(QOffscreenSurface* self, QScreen* screen);
void QOffscreenSurface_connect_ScreenChanged(QOffscreenSurface* self, intptr_t slot);
struct miqt_string QOffscreenSurface_Tr2(const char* s, const char* c);
struct miqt_string QOffscreenSurface_Tr3(const char* s, const char* c, int n);
2024-11-19 06:29:06 +00:00
void QOffscreenSurface_override_virtual_SurfaceType(void* self, intptr_t slot);
int QOffscreenSurface_virtualbase_SurfaceType(const void* self);
void QOffscreenSurface_override_virtual_Format(void* self, intptr_t slot);
QSurfaceFormat* QOffscreenSurface_virtualbase_Format(const void* self);
void QOffscreenSurface_override_virtual_Size(void* self, intptr_t slot);
QSize* QOffscreenSurface_virtualbase_Size(const void* self);
void QOffscreenSurface_override_virtual_Event(void* self, intptr_t slot);
bool QOffscreenSurface_virtualbase_Event(void* self, QEvent* event);
void QOffscreenSurface_override_virtual_EventFilter(void* self, intptr_t slot);
bool QOffscreenSurface_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
void QOffscreenSurface_override_virtual_TimerEvent(void* self, intptr_t slot);
void QOffscreenSurface_virtualbase_TimerEvent(void* self, QTimerEvent* event);
void QOffscreenSurface_override_virtual_ChildEvent(void* self, intptr_t slot);
void QOffscreenSurface_virtualbase_ChildEvent(void* self, QChildEvent* event);
void QOffscreenSurface_override_virtual_CustomEvent(void* self, intptr_t slot);
void QOffscreenSurface_virtualbase_CustomEvent(void* self, QEvent* event);
void QOffscreenSurface_override_virtual_ConnectNotify(void* self, intptr_t slot);
void QOffscreenSurface_virtualbase_ConnectNotify(void* self, QMetaMethod* signal);
void QOffscreenSurface_override_virtual_DisconnectNotify(void* self, intptr_t slot);
void QOffscreenSurface_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
void QOffscreenSurface_Delete(QOffscreenSurface* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif