#ifndef GEN_QSCREEN_H #define GEN_QSCREEN_H #include #include #include #pragma GCC diagnostic ignored "-Wdeprecated-declarations" #ifdef __cplusplus extern "C" { #endif #ifdef __cplusplus class QMetaObject; class QPixmap; class QPoint; class QRect; class QScreen; class QSize; class QSizeF; class QTransform; #else typedef struct QMetaObject QMetaObject; typedef struct QPixmap QPixmap; typedef struct QPoint QPoint; typedef struct QRect QRect; typedef struct QScreen QScreen; typedef struct QSize QSize; typedef struct QSizeF QSizeF; typedef struct QTransform QTransform; #endif QMetaObject* QScreen_MetaObject(const QScreen* self); void QScreen_Tr(const char* s, char** _out, int* _out_Strlen); void QScreen_TrUtf8(const char* s, char** _out, int* _out_Strlen); void QScreen_Name(const QScreen* self, char** _out, int* _out_Strlen); void QScreen_Manufacturer(const QScreen* self, char** _out, int* _out_Strlen); void QScreen_Model(const QScreen* self, char** _out, int* _out_Strlen); void QScreen_SerialNumber(const QScreen* self, char** _out, int* _out_Strlen); int QScreen_Depth(const QScreen* self); QSize* QScreen_Size(const QScreen* self); QRect* QScreen_Geometry(const QScreen* self); QSizeF* QScreen_PhysicalSize(const QScreen* self); double QScreen_PhysicalDotsPerInchX(const QScreen* self); double QScreen_PhysicalDotsPerInchY(const QScreen* self); double QScreen_PhysicalDotsPerInch(const QScreen* self); double QScreen_LogicalDotsPerInchX(const QScreen* self); double QScreen_LogicalDotsPerInchY(const QScreen* self); double QScreen_LogicalDotsPerInch(const QScreen* self); double QScreen_DevicePixelRatio(const QScreen* self); QSize* QScreen_AvailableSize(const QScreen* self); QRect* QScreen_AvailableGeometry(const QScreen* self); void QScreen_VirtualSiblings(const QScreen* self, QScreen*** _out, size_t* _out_len); QScreen* QScreen_VirtualSiblingAt(QScreen* self, QPoint* point); QSize* QScreen_VirtualSize(const QScreen* self); QRect* QScreen_VirtualGeometry(const QScreen* self); QSize* QScreen_AvailableVirtualSize(const QScreen* self); QRect* QScreen_AvailableVirtualGeometry(const QScreen* self); uintptr_t QScreen_PrimaryOrientation(const QScreen* self); uintptr_t QScreen_Orientation(const QScreen* self); uintptr_t QScreen_NativeOrientation(const QScreen* self); int QScreen_OrientationUpdateMask(const QScreen* self); void QScreen_SetOrientationUpdateMask(QScreen* self, int mask); int QScreen_AngleBetween(const QScreen* self, uintptr_t a, uintptr_t b); QTransform* QScreen_TransformBetween(const QScreen* self, uintptr_t a, uintptr_t b, QRect* target); QRect* QScreen_MapBetween(const QScreen* self, uintptr_t a, uintptr_t b, QRect* rect); bool QScreen_IsPortrait(const QScreen* self, uintptr_t orientation); bool QScreen_IsLandscape(const QScreen* self, uintptr_t orientation); QPixmap* QScreen_GrabWindow(QScreen* self, uintptr_t window); double QScreen_RefreshRate(const QScreen* self); void QScreen_GeometryChanged(QScreen* self, QRect* geometry); void QScreen_connect_GeometryChanged(QScreen* self, void* slot); void QScreen_AvailableGeometryChanged(QScreen* self, QRect* geometry); void QScreen_connect_AvailableGeometryChanged(QScreen* self, void* slot); void QScreen_PhysicalSizeChanged(QScreen* self, QSizeF* size); void QScreen_connect_PhysicalSizeChanged(QScreen* self, void* slot); void QScreen_PhysicalDotsPerInchChanged(QScreen* self, double dpi); void QScreen_connect_PhysicalDotsPerInchChanged(QScreen* self, void* slot); void QScreen_LogicalDotsPerInchChanged(QScreen* self, double dpi); void QScreen_connect_LogicalDotsPerInchChanged(QScreen* self, void* slot); void QScreen_VirtualGeometryChanged(QScreen* self, QRect* rect); void QScreen_connect_VirtualGeometryChanged(QScreen* self, void* slot); void QScreen_PrimaryOrientationChanged(QScreen* self, uintptr_t orientation); void QScreen_connect_PrimaryOrientationChanged(QScreen* self, void* slot); void QScreen_OrientationChanged(QScreen* self, uintptr_t orientation); void QScreen_connect_OrientationChanged(QScreen* self, void* slot); void QScreen_RefreshRateChanged(QScreen* self, double refreshRate); void QScreen_connect_RefreshRateChanged(QScreen* self, void* slot); void QScreen_Tr2(const char* s, const char* c, char** _out, int* _out_Strlen); void QScreen_Tr3(const char* s, const char* c, int n, char** _out, int* _out_Strlen); void QScreen_TrUtf82(const char* s, const char* c, char** _out, int* _out_Strlen); void QScreen_TrUtf83(const char* s, const char* c, int n, char** _out, int* _out_Strlen); QPixmap* QScreen_GrabWindow2(QScreen* self, uintptr_t window, int x); QPixmap* QScreen_GrabWindow3(QScreen* self, uintptr_t window, int x, int y); QPixmap* QScreen_GrabWindow4(QScreen* self, uintptr_t window, int x, int y, int w); QPixmap* QScreen_GrabWindow5(QScreen* self, uintptr_t window, int x, int y, int w, int h); void QScreen_Delete(QScreen* self); #ifdef __cplusplus } /* extern C */ #endif #endif