mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 17:08:38 +00:00
55 lines
1.8 KiB
C++
55 lines
1.8 KiB
C++
#ifndef GEN_QVIDEOSINK_H
|
|
#define GEN_QVIDEOSINK_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 QMetaObject;
|
|
class QObject;
|
|
class QSize;
|
|
class QVideoFrame;
|
|
class QVideoSink;
|
|
#else
|
|
typedef struct QMetaObject QMetaObject;
|
|
typedef struct QObject QObject;
|
|
typedef struct QSize QSize;
|
|
typedef struct QVideoFrame QVideoFrame;
|
|
typedef struct QVideoSink QVideoSink;
|
|
#endif
|
|
|
|
QVideoSink* QVideoSink_new();
|
|
QVideoSink* QVideoSink_new2(QObject* parent);
|
|
QMetaObject* QVideoSink_MetaObject(const QVideoSink* self);
|
|
void* QVideoSink_Metacast(QVideoSink* self, const char* param1);
|
|
struct miqt_string QVideoSink_Tr(const char* s);
|
|
QSize* QVideoSink_VideoSize(const QVideoSink* self);
|
|
struct miqt_string QVideoSink_SubtitleText(const QVideoSink* self);
|
|
void QVideoSink_SetSubtitleText(QVideoSink* self, struct miqt_string subtitle);
|
|
void QVideoSink_SetVideoFrame(QVideoSink* self, QVideoFrame* frame);
|
|
QVideoFrame* QVideoSink_VideoFrame(const QVideoSink* self);
|
|
void QVideoSink_VideoFrameChanged(const QVideoSink* self, QVideoFrame* frame);
|
|
void QVideoSink_connect_VideoFrameChanged(QVideoSink* self, intptr_t slot);
|
|
void QVideoSink_SubtitleTextChanged(const QVideoSink* self, struct miqt_string subtitleText);
|
|
void QVideoSink_connect_SubtitleTextChanged(QVideoSink* self, intptr_t slot);
|
|
void QVideoSink_VideoSizeChanged(QVideoSink* self);
|
|
void QVideoSink_connect_VideoSizeChanged(QVideoSink* self, intptr_t slot);
|
|
struct miqt_string QVideoSink_Tr2(const char* s, const char* c);
|
|
struct miqt_string QVideoSink_Tr3(const char* s, const char* c, int n);
|
|
void QVideoSink_Delete(QVideoSink* self);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|