2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QOFFSCREENSURFACE_H
|
|
|
|
#define MIQT_QT_GEN_QOFFSCREENSURFACE_H
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 05:07:56 +00:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-14 22:29:05 +00:00
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2024-11-19 06:29:06 +00:00
|
|
|
class QChildEvent;
|
|
|
|
class QEvent;
|
|
|
|
class QMetaMethod;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QMetaObject;
|
|
|
|
class QObject;
|
|
|
|
class QOffscreenSurface;
|
|
|
|
class QScreen;
|
|
|
|
class QSize;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QSurface;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QSurfaceFormat;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QTimerEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
#else
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QChildEvent QChildEvent;
|
|
|
|
typedef struct QEvent QEvent;
|
|
|
|
typedef struct QMetaMethod QMetaMethod;
|
2024-08-25 04:08:24 +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-08-25 04:08:24 +00:00
|
|
|
typedef struct QSurfaceFormat QSurfaceFormat;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QTimerEvent QTimerEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
#endif
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QOffscreenSurface_new(QScreen* screen, QObject* parent, QOffscreenSurface** outptr_QOffscreenSurface, QObject** outptr_QObject, QSurface** outptr_QSurface);
|
|
|
|
void QOffscreenSurface_new2(QOffscreenSurface** outptr_QOffscreenSurface, QObject** outptr_QObject, QSurface** outptr_QSurface);
|
|
|
|
void QOffscreenSurface_new3(QScreen* screen, QOffscreenSurface** outptr_QOffscreenSurface, QObject** outptr_QObject, QSurface** outptr_QSurface);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QOffscreenSurface_MetaObject(const QOffscreenSurface* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QOffscreenSurface_Metacast(QOffscreenSurface* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QOffscreenSurface_Tr(const char* s);
|
|
|
|
struct miqt_string QOffscreenSurface_TrUtf8(const char* s);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QOffscreenSurface_SurfaceType(const QOffscreenSurface* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QOffscreenSurface_Create(QOffscreenSurface* self);
|
|
|
|
void QOffscreenSurface_Destroy(QOffscreenSurface* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QOffscreenSurface_IsValid(const QOffscreenSurface* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QOffscreenSurface_SetFormat(QOffscreenSurface* self, QSurfaceFormat* format);
|
2024-09-11 05:41:09 +00:00
|
|
|
QSurfaceFormat* QOffscreenSurface_Format(const QOffscreenSurface* self);
|
|
|
|
QSurfaceFormat* QOffscreenSurface_RequestedFormat(const QOffscreenSurface* self);
|
|
|
|
QSize* QOffscreenSurface_Size(const QOffscreenSurface* self);
|
|
|
|
QScreen* QOffscreenSurface_Screen(const QOffscreenSurface* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QOffscreenSurface_SetScreen(QOffscreenSurface* self, QScreen* screen);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QOffscreenSurface_NativeHandle(const QOffscreenSurface* self);
|
|
|
|
void QOffscreenSurface_SetNativeHandle(QOffscreenSurface* self, void* handle);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QOffscreenSurface_ScreenChanged(QOffscreenSurface* self, QScreen* screen);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QOffscreenSurface_connect_ScreenChanged(QOffscreenSurface* self, intptr_t slot);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QOffscreenSurface_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QOffscreenSurface_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QOffscreenSurface_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QOffscreenSurface_TrUtf83(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-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|