2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT6_GEN_QSURFACE_H
|
|
|
|
#define MIQT_QT6_GEN_QSURFACE_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
|
|
|
|
class QSize;
|
|
|
|
class QSurface;
|
|
|
|
class QSurfaceFormat;
|
|
|
|
#else
|
|
|
|
typedef struct QSize QSize;
|
|
|
|
typedef struct QSurface QSurface;
|
|
|
|
typedef struct QSurfaceFormat QSurfaceFormat;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
int QSurface_SurfaceClass(const QSurface* self);
|
|
|
|
QSurfaceFormat* QSurface_Format(const QSurface* self);
|
|
|
|
int QSurface_SurfaceType(const QSurface* self);
|
|
|
|
bool QSurface_SupportsOpenGL(const QSurface* self);
|
|
|
|
QSize* QSurface_Size(const QSurface* self);
|
|
|
|
void QSurface_Delete(QSurface* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|