2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QMOVIE_H
|
|
|
|
#define GEN_QMOVIE_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-09-14 22:29:05 +00:00
|
|
|
#include "binding.h"
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QByteArray;
|
|
|
|
class QColor;
|
|
|
|
class QIODevice;
|
|
|
|
class QImage;
|
|
|
|
class QMetaObject;
|
|
|
|
class QMovie;
|
|
|
|
class QObject;
|
|
|
|
class QPixmap;
|
|
|
|
class QRect;
|
|
|
|
class QSize;
|
|
|
|
#else
|
|
|
|
typedef struct QByteArray QByteArray;
|
|
|
|
typedef struct QColor QColor;
|
|
|
|
typedef struct QIODevice QIODevice;
|
|
|
|
typedef struct QImage QImage;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QMovie QMovie;
|
|
|
|
typedef struct QObject QObject;
|
|
|
|
typedef struct QPixmap QPixmap;
|
|
|
|
typedef struct QRect QRect;
|
|
|
|
typedef struct QSize QSize;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QMovie* QMovie_new();
|
|
|
|
QMovie* QMovie_new2(QIODevice* device);
|
2024-09-14 22:29:05 +00:00
|
|
|
QMovie* QMovie_new3(struct miqt_string* fileName);
|
2024-08-25 04:08:24 +00:00
|
|
|
QMovie* QMovie_new4(QObject* parent);
|
|
|
|
QMovie* QMovie_new5(QIODevice* device, QByteArray* format);
|
|
|
|
QMovie* QMovie_new6(QIODevice* device, QByteArray* format, QObject* parent);
|
2024-09-14 22:29:05 +00:00
|
|
|
QMovie* QMovie_new7(struct miqt_string* fileName, QByteArray* format);
|
|
|
|
QMovie* QMovie_new8(struct miqt_string* fileName, QByteArray* format, QObject* parent);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QMovie_MetaObject(const QMovie* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QMovie_Metacast(QMovie* self, const char* param1);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QMovie_Tr(const char* s);
|
|
|
|
struct miqt_string* QMovie_TrUtf8(const char* s);
|
|
|
|
struct miqt_array* QMovie_SupportedFormats();
|
2024-08-25 04:08:24 +00:00
|
|
|
void QMovie_SetDevice(QMovie* self, QIODevice* device);
|
2024-09-11 05:41:09 +00:00
|
|
|
QIODevice* QMovie_Device(const QMovie* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
void QMovie_SetFileName(QMovie* self, struct miqt_string* fileName);
|
|
|
|
struct miqt_string* QMovie_FileName(const QMovie* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QMovie_SetFormat(QMovie* self, QByteArray* format);
|
2024-09-11 05:41:09 +00:00
|
|
|
QByteArray* QMovie_Format(const QMovie* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QMovie_SetBackgroundColor(QMovie* self, QColor* color);
|
2024-09-11 05:41:09 +00:00
|
|
|
QColor* QMovie_BackgroundColor(const QMovie* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QMovie_State(const QMovie* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
QRect* QMovie_FrameRect(const QMovie* self);
|
|
|
|
QImage* QMovie_CurrentImage(const QMovie* self);
|
|
|
|
QPixmap* QMovie_CurrentPixmap(const QMovie* self);
|
|
|
|
bool QMovie_IsValid(const QMovie* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QMovie_LastError(const QMovie* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QMovie_LastErrorString(const QMovie* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
bool QMovie_JumpToFrame(QMovie* self, int frameNumber);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QMovie_LoopCount(const QMovie* self);
|
|
|
|
int QMovie_FrameCount(const QMovie* self);
|
|
|
|
int QMovie_NextFrameDelay(const QMovie* self);
|
|
|
|
int QMovie_CurrentFrameNumber(const QMovie* self);
|
|
|
|
int QMovie_Speed(const QMovie* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
QSize* QMovie_ScaledSize(QMovie* self);
|
|
|
|
void QMovie_SetScaledSize(QMovie* self, QSize* size);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QMovie_CacheMode(const QMovie* self);
|
|
|
|
void QMovie_SetCacheMode(QMovie* self, int mode);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QMovie_Started(QMovie* self);
|
|
|
|
void QMovie_connect_Started(QMovie* self, void* slot);
|
|
|
|
void QMovie_Resized(QMovie* self, QSize* size);
|
|
|
|
void QMovie_connect_Resized(QMovie* self, void* slot);
|
|
|
|
void QMovie_Updated(QMovie* self, QRect* rect);
|
|
|
|
void QMovie_connect_Updated(QMovie* self, void* slot);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QMovie_StateChanged(QMovie* self, int state);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QMovie_connect_StateChanged(QMovie* self, void* slot);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QMovie_Error(QMovie* self, int error);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QMovie_connect_Error(QMovie* self, void* slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QMovie_Finished(QMovie* self);
|
|
|
|
void QMovie_connect_Finished(QMovie* self, void* slot);
|
|
|
|
void QMovie_FrameChanged(QMovie* self, int frameNumber);
|
|
|
|
void QMovie_connect_FrameChanged(QMovie* self, void* slot);
|
|
|
|
void QMovie_Start(QMovie* self);
|
|
|
|
bool QMovie_JumpToNextFrame(QMovie* self);
|
|
|
|
void QMovie_SetPaused(QMovie* self, bool paused);
|
|
|
|
void QMovie_Stop(QMovie* self);
|
|
|
|
void QMovie_SetSpeed(QMovie* self, int percentSpeed);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QMovie_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string* QMovie_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string* QMovie_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string* QMovie_TrUtf83(const char* s, const char* c, int n);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QMovie_Delete(QMovie* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|