mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 01:18:37 +00:00
78 lines
3.6 KiB
C++
78 lines
3.6 KiB
C++
#ifndef GEN_QMEDIACAPTURESESSION_H
|
|
#define GEN_QMEDIACAPTURESESSION_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 QAudioInput;
|
|
class QAudioOutput;
|
|
class QCamera;
|
|
class QImageCapture;
|
|
class QMediaCaptureSession;
|
|
class QMediaRecorder;
|
|
class QMetaObject;
|
|
class QObject;
|
|
class QVideoSink;
|
|
#else
|
|
typedef struct QAudioInput QAudioInput;
|
|
typedef struct QAudioOutput QAudioOutput;
|
|
typedef struct QCamera QCamera;
|
|
typedef struct QImageCapture QImageCapture;
|
|
typedef struct QMediaCaptureSession QMediaCaptureSession;
|
|
typedef struct QMediaRecorder QMediaRecorder;
|
|
typedef struct QMetaObject QMetaObject;
|
|
typedef struct QObject QObject;
|
|
typedef struct QVideoSink QVideoSink;
|
|
#endif
|
|
|
|
QMediaCaptureSession* QMediaCaptureSession_new();
|
|
QMediaCaptureSession* QMediaCaptureSession_new2(QObject* parent);
|
|
QMetaObject* QMediaCaptureSession_MetaObject(const QMediaCaptureSession* self);
|
|
void* QMediaCaptureSession_Metacast(QMediaCaptureSession* self, const char* param1);
|
|
struct miqt_string QMediaCaptureSession_Tr(const char* s);
|
|
QAudioInput* QMediaCaptureSession_AudioInput(const QMediaCaptureSession* self);
|
|
void QMediaCaptureSession_SetAudioInput(QMediaCaptureSession* self, QAudioInput* input);
|
|
QCamera* QMediaCaptureSession_Camera(const QMediaCaptureSession* self);
|
|
void QMediaCaptureSession_SetCamera(QMediaCaptureSession* self, QCamera* camera);
|
|
QImageCapture* QMediaCaptureSession_ImageCapture(QMediaCaptureSession* self);
|
|
void QMediaCaptureSession_SetImageCapture(QMediaCaptureSession* self, QImageCapture* imageCapture);
|
|
QMediaRecorder* QMediaCaptureSession_Recorder(QMediaCaptureSession* self);
|
|
void QMediaCaptureSession_SetRecorder(QMediaCaptureSession* self, QMediaRecorder* recorder);
|
|
void QMediaCaptureSession_SetVideoOutput(QMediaCaptureSession* self, QObject* output);
|
|
QObject* QMediaCaptureSession_VideoOutput(const QMediaCaptureSession* self);
|
|
void QMediaCaptureSession_SetVideoSink(QMediaCaptureSession* self, QVideoSink* sink);
|
|
QVideoSink* QMediaCaptureSession_VideoSink(const QMediaCaptureSession* self);
|
|
void QMediaCaptureSession_SetAudioOutput(QMediaCaptureSession* self, QAudioOutput* output);
|
|
QAudioOutput* QMediaCaptureSession_AudioOutput(const QMediaCaptureSession* self);
|
|
void QMediaCaptureSession_AudioInputChanged(QMediaCaptureSession* self);
|
|
void QMediaCaptureSession_connect_AudioInputChanged(QMediaCaptureSession* self, intptr_t slot);
|
|
void QMediaCaptureSession_CameraChanged(QMediaCaptureSession* self);
|
|
void QMediaCaptureSession_connect_CameraChanged(QMediaCaptureSession* self, intptr_t slot);
|
|
void QMediaCaptureSession_ImageCaptureChanged(QMediaCaptureSession* self);
|
|
void QMediaCaptureSession_connect_ImageCaptureChanged(QMediaCaptureSession* self, intptr_t slot);
|
|
void QMediaCaptureSession_RecorderChanged(QMediaCaptureSession* self);
|
|
void QMediaCaptureSession_connect_RecorderChanged(QMediaCaptureSession* self, intptr_t slot);
|
|
void QMediaCaptureSession_VideoOutputChanged(QMediaCaptureSession* self);
|
|
void QMediaCaptureSession_connect_VideoOutputChanged(QMediaCaptureSession* self, intptr_t slot);
|
|
void QMediaCaptureSession_AudioOutputChanged(QMediaCaptureSession* self);
|
|
void QMediaCaptureSession_connect_AudioOutputChanged(QMediaCaptureSession* self, intptr_t slot);
|
|
struct miqt_string QMediaCaptureSession_Tr2(const char* s, const char* c);
|
|
struct miqt_string QMediaCaptureSession_Tr3(const char* s, const char* c, int n);
|
|
void QMediaCaptureSession_Delete(QMediaCaptureSession* self);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|