miqt/qt/gen_qimageiohandler.h

133 lines
6.8 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT_GEN_QIMAGEIOHANDLER_H
#define MIQT_QT_GEN_QIMAGEIOHANDLER_H
#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 QChildEvent;
class QEvent;
class QIODevice;
class QImage;
class QImageIOHandler;
class QImageIOPlugin;
class QMetaMethod;
class QMetaObject;
2024-11-19 06:29:06 +00:00
class QObject;
class QRect;
class QTimerEvent;
2024-08-29 07:01:51 +00:00
class QVariant;
#else
typedef struct QChildEvent QChildEvent;
typedef struct QEvent QEvent;
typedef struct QIODevice QIODevice;
typedef struct QImage QImage;
typedef struct QImageIOHandler QImageIOHandler;
typedef struct QImageIOPlugin QImageIOPlugin;
typedef struct QMetaMethod QMetaMethod;
typedef struct QMetaObject QMetaObject;
2024-11-19 06:29:06 +00:00
typedef struct QObject QObject;
typedef struct QRect QRect;
typedef struct QTimerEvent QTimerEvent;
2024-08-29 07:01:51 +00:00
typedef struct QVariant QVariant;
#endif
2024-12-07 04:15:57 +00:00
QImageIOHandler* QImageIOHandler_new();
void QImageIOHandler_SetDevice(QImageIOHandler* self, QIODevice* device);
QIODevice* QImageIOHandler_Device(const QImageIOHandler* self);
void QImageIOHandler_SetFormat(QImageIOHandler* self, struct miqt_string format);
void QImageIOHandler_SetFormatWithFormat(const QImageIOHandler* self, struct miqt_string format);
struct miqt_string QImageIOHandler_Format(const QImageIOHandler* self);
struct miqt_string QImageIOHandler_Name(const QImageIOHandler* self);
bool QImageIOHandler_CanRead(const QImageIOHandler* self);
bool QImageIOHandler_Read(QImageIOHandler* self, QImage* image);
bool QImageIOHandler_Write(QImageIOHandler* self, QImage* image);
QVariant* QImageIOHandler_Option(const QImageIOHandler* self, int option);
void QImageIOHandler_SetOption(QImageIOHandler* self, int option, QVariant* value);
bool QImageIOHandler_SupportsOption(const QImageIOHandler* self, int option);
bool QImageIOHandler_JumpToNextImage(QImageIOHandler* self);
bool QImageIOHandler_JumpToImage(QImageIOHandler* self, int imageNumber);
int QImageIOHandler_LoopCount(const QImageIOHandler* self);
int QImageIOHandler_ImageCount(const QImageIOHandler* self);
int QImageIOHandler_NextImageDelay(const QImageIOHandler* self);
int QImageIOHandler_CurrentImageNumber(const QImageIOHandler* self);
QRect* QImageIOHandler_CurrentImageRect(const QImageIOHandler* self);
void QImageIOHandler_override_virtual_Name(void* self, intptr_t slot);
struct miqt_string QImageIOHandler_virtualbase_Name(const void* self);
void QImageIOHandler_override_virtual_CanRead(void* self, intptr_t slot);
bool QImageIOHandler_virtualbase_CanRead(const void* self);
void QImageIOHandler_override_virtual_Read(void* self, intptr_t slot);
bool QImageIOHandler_virtualbase_Read(void* self, QImage* image);
void QImageIOHandler_override_virtual_Write(void* self, intptr_t slot);
bool QImageIOHandler_virtualbase_Write(void* self, QImage* image);
void QImageIOHandler_override_virtual_Option(void* self, intptr_t slot);
QVariant* QImageIOHandler_virtualbase_Option(const void* self, int option);
void QImageIOHandler_override_virtual_SetOption(void* self, intptr_t slot);
void QImageIOHandler_virtualbase_SetOption(void* self, int option, QVariant* value);
void QImageIOHandler_override_virtual_SupportsOption(void* self, intptr_t slot);
bool QImageIOHandler_virtualbase_SupportsOption(const void* self, int option);
void QImageIOHandler_override_virtual_JumpToNextImage(void* self, intptr_t slot);
bool QImageIOHandler_virtualbase_JumpToNextImage(void* self);
void QImageIOHandler_override_virtual_JumpToImage(void* self, intptr_t slot);
bool QImageIOHandler_virtualbase_JumpToImage(void* self, int imageNumber);
void QImageIOHandler_override_virtual_LoopCount(void* self, intptr_t slot);
int QImageIOHandler_virtualbase_LoopCount(const void* self);
void QImageIOHandler_override_virtual_ImageCount(void* self, intptr_t slot);
int QImageIOHandler_virtualbase_ImageCount(const void* self);
void QImageIOHandler_override_virtual_NextImageDelay(void* self, intptr_t slot);
int QImageIOHandler_virtualbase_NextImageDelay(const void* self);
void QImageIOHandler_override_virtual_CurrentImageNumber(void* self, intptr_t slot);
int QImageIOHandler_virtualbase_CurrentImageNumber(const void* self);
void QImageIOHandler_override_virtual_CurrentImageRect(void* self, intptr_t slot);
QRect* QImageIOHandler_virtualbase_CurrentImageRect(const void* self);
2024-11-19 06:29:06 +00:00
void QImageIOHandler_Delete(QImageIOHandler* self, bool isSubclass);
2024-12-07 04:15:57 +00:00
QImageIOPlugin* QImageIOPlugin_new();
QImageIOPlugin* QImageIOPlugin_new2(QObject* parent);
void QImageIOPlugin_virtbase(QImageIOPlugin* src, QObject** outptr_QObject);
QMetaObject* QImageIOPlugin_MetaObject(const QImageIOPlugin* self);
void* QImageIOPlugin_Metacast(QImageIOPlugin* self, const char* param1);
struct miqt_string QImageIOPlugin_Tr(const char* s);
struct miqt_string QImageIOPlugin_TrUtf8(const char* s);
int QImageIOPlugin_Capabilities(const QImageIOPlugin* self, QIODevice* device, struct miqt_string format);
2024-11-19 06:29:06 +00:00
QImageIOHandler* QImageIOPlugin_Create(const QImageIOPlugin* self, QIODevice* device, struct miqt_string format);
struct miqt_string QImageIOPlugin_Tr2(const char* s, const char* c);
struct miqt_string QImageIOPlugin_Tr3(const char* s, const char* c, int n);
struct miqt_string QImageIOPlugin_TrUtf82(const char* s, const char* c);
struct miqt_string QImageIOPlugin_TrUtf83(const char* s, const char* c, int n);
void QImageIOPlugin_override_virtual_Capabilities(void* self, intptr_t slot);
int QImageIOPlugin_virtualbase_Capabilities(const void* self, QIODevice* device, struct miqt_string format);
void QImageIOPlugin_override_virtual_Create(void* self, intptr_t slot);
QImageIOHandler* QImageIOPlugin_virtualbase_Create(const void* self, QIODevice* device, struct miqt_string format);
void QImageIOPlugin_override_virtual_Event(void* self, intptr_t slot);
bool QImageIOPlugin_virtualbase_Event(void* self, QEvent* event);
void QImageIOPlugin_override_virtual_EventFilter(void* self, intptr_t slot);
bool QImageIOPlugin_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
void QImageIOPlugin_override_virtual_TimerEvent(void* self, intptr_t slot);
void QImageIOPlugin_virtualbase_TimerEvent(void* self, QTimerEvent* event);
void QImageIOPlugin_override_virtual_ChildEvent(void* self, intptr_t slot);
void QImageIOPlugin_virtualbase_ChildEvent(void* self, QChildEvent* event);
void QImageIOPlugin_override_virtual_CustomEvent(void* self, intptr_t slot);
void QImageIOPlugin_virtualbase_CustomEvent(void* self, QEvent* event);
void QImageIOPlugin_override_virtual_ConnectNotify(void* self, intptr_t slot);
void QImageIOPlugin_virtualbase_ConnectNotify(void* self, QMetaMethod* signal);
void QImageIOPlugin_override_virtual_DisconnectNotify(void* self, intptr_t slot);
void QImageIOPlugin_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
2024-11-19 06:29:06 +00:00
void QImageIOPlugin_Delete(QImageIOPlugin* self, bool isSubclass);
#ifdef __cplusplus
} /* extern C */
#endif
#endif