miqt/qt/multimedia/gen_qmediarecorder.h

159 lines
9.8 KiB
C
Raw Permalink Normal View History

#pragma once
#ifndef MIQT_QT_MULTIMEDIA_GEN_QMEDIARECORDER_H
#define MIQT_QT_MULTIMEDIA_GEN_QMEDIARECORDER_H
2024-11-04 10:15:32 +00:00
#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 QAudioEncoderSettings;
2024-11-19 06:29:06 +00:00
class QChildEvent;
class QEvent;
class QMediaBindableInterface;
2024-11-04 10:15:32 +00:00
class QMediaObject;
class QMediaRecorder;
2024-11-19 06:29:06 +00:00
class QMetaMethod;
2024-11-04 10:15:32 +00:00
class QMetaObject;
class QObject;
class QSize;
2024-11-19 06:29:06 +00:00
class QTimerEvent;
2024-11-04 10:15:32 +00:00
class QUrl;
class QVariant;
class QVideoEncoderSettings;
#else
typedef struct QAudioEncoderSettings QAudioEncoderSettings;
2024-11-19 06:29:06 +00:00
typedef struct QChildEvent QChildEvent;
typedef struct QEvent QEvent;
typedef struct QMediaBindableInterface QMediaBindableInterface;
2024-11-04 10:15:32 +00:00
typedef struct QMediaObject QMediaObject;
typedef struct QMediaRecorder QMediaRecorder;
2024-11-19 06:29:06 +00:00
typedef struct QMetaMethod QMetaMethod;
2024-11-04 10:15:32 +00:00
typedef struct QMetaObject QMetaObject;
typedef struct QObject QObject;
typedef struct QSize QSize;
2024-11-19 06:29:06 +00:00
typedef struct QTimerEvent QTimerEvent;
2024-11-04 10:15:32 +00:00
typedef struct QUrl QUrl;
typedef struct QVariant QVariant;
typedef struct QVideoEncoderSettings QVideoEncoderSettings;
#endif
2024-12-07 04:15:57 +00:00
QMediaRecorder* QMediaRecorder_new(QMediaObject* mediaObject);
QMediaRecorder* QMediaRecorder_new2(QMediaObject* mediaObject, QObject* parent);
void QMediaRecorder_virtbase(QMediaRecorder* src, QObject** outptr_QObject, QMediaBindableInterface** outptr_QMediaBindableInterface);
2024-11-04 10:15:32 +00:00
QMetaObject* QMediaRecorder_MetaObject(const QMediaRecorder* self);
void* QMediaRecorder_Metacast(QMediaRecorder* self, const char* param1);
struct miqt_string QMediaRecorder_Tr(const char* s);
struct miqt_string QMediaRecorder_TrUtf8(const char* s);
QMediaObject* QMediaRecorder_MediaObject(const QMediaRecorder* self);
bool QMediaRecorder_IsAvailable(const QMediaRecorder* self);
int QMediaRecorder_Availability(const QMediaRecorder* self);
QUrl* QMediaRecorder_OutputLocation(const QMediaRecorder* self);
bool QMediaRecorder_SetOutputLocation(QMediaRecorder* self, QUrl* location);
QUrl* QMediaRecorder_ActualLocation(const QMediaRecorder* self);
int QMediaRecorder_State(const QMediaRecorder* self);
int QMediaRecorder_Status(const QMediaRecorder* self);
int QMediaRecorder_Error(const QMediaRecorder* self);
struct miqt_string QMediaRecorder_ErrorString(const QMediaRecorder* self);
long long QMediaRecorder_Duration(const QMediaRecorder* self);
bool QMediaRecorder_IsMuted(const QMediaRecorder* self);
double QMediaRecorder_Volume(const QMediaRecorder* self);
struct miqt_array /* of struct miqt_string */ QMediaRecorder_SupportedContainers(const QMediaRecorder* self);
2024-11-04 10:15:32 +00:00
struct miqt_string QMediaRecorder_ContainerDescription(const QMediaRecorder* self, struct miqt_string format);
struct miqt_array /* of struct miqt_string */ QMediaRecorder_SupportedAudioCodecs(const QMediaRecorder* self);
2024-11-04 10:15:32 +00:00
struct miqt_string QMediaRecorder_AudioCodecDescription(const QMediaRecorder* self, struct miqt_string codecName);
struct miqt_array /* of int */ QMediaRecorder_SupportedAudioSampleRates(const QMediaRecorder* self);
struct miqt_array /* of struct miqt_string */ QMediaRecorder_SupportedVideoCodecs(const QMediaRecorder* self);
2024-11-04 10:15:32 +00:00
struct miqt_string QMediaRecorder_VideoCodecDescription(const QMediaRecorder* self, struct miqt_string codecName);
struct miqt_array /* of QSize* */ QMediaRecorder_SupportedResolutions(const QMediaRecorder* self);
struct miqt_array /* of double */ QMediaRecorder_SupportedFrameRates(const QMediaRecorder* self);
2024-11-04 10:15:32 +00:00
QAudioEncoderSettings* QMediaRecorder_AudioSettings(const QMediaRecorder* self);
QVideoEncoderSettings* QMediaRecorder_VideoSettings(const QMediaRecorder* self);
struct miqt_string QMediaRecorder_ContainerFormat(const QMediaRecorder* self);
void QMediaRecorder_SetAudioSettings(QMediaRecorder* self, QAudioEncoderSettings* audioSettings);
void QMediaRecorder_SetVideoSettings(QMediaRecorder* self, QVideoEncoderSettings* videoSettings);
void QMediaRecorder_SetContainerFormat(QMediaRecorder* self, struct miqt_string container);
void QMediaRecorder_SetEncodingSettings(QMediaRecorder* self, QAudioEncoderSettings* audioSettings);
bool QMediaRecorder_IsMetaDataAvailable(const QMediaRecorder* self);
bool QMediaRecorder_IsMetaDataWritable(const QMediaRecorder* self);
QVariant* QMediaRecorder_MetaData(const QMediaRecorder* self, struct miqt_string key);
void QMediaRecorder_SetMetaData(QMediaRecorder* self, struct miqt_string key, QVariant* value);
struct miqt_array /* of struct miqt_string */ QMediaRecorder_AvailableMetaData(const QMediaRecorder* self);
2024-11-04 10:15:32 +00:00
void QMediaRecorder_Record(QMediaRecorder* self);
void QMediaRecorder_Pause(QMediaRecorder* self);
void QMediaRecorder_Stop(QMediaRecorder* self);
void QMediaRecorder_SetMuted(QMediaRecorder* self, bool muted);
void QMediaRecorder_SetVolume(QMediaRecorder* self, double volume);
void QMediaRecorder_StateChanged(QMediaRecorder* self, int state);
void QMediaRecorder_connect_StateChanged(QMediaRecorder* self, intptr_t slot);
void QMediaRecorder_StatusChanged(QMediaRecorder* self, int status);
void QMediaRecorder_connect_StatusChanged(QMediaRecorder* self, intptr_t slot);
void QMediaRecorder_DurationChanged(QMediaRecorder* self, long long duration);
void QMediaRecorder_connect_DurationChanged(QMediaRecorder* self, intptr_t slot);
void QMediaRecorder_MutedChanged(QMediaRecorder* self, bool muted);
void QMediaRecorder_connect_MutedChanged(QMediaRecorder* self, intptr_t slot);
void QMediaRecorder_VolumeChanged(QMediaRecorder* self, double volume);
void QMediaRecorder_connect_VolumeChanged(QMediaRecorder* self, intptr_t slot);
void QMediaRecorder_ActualLocationChanged(QMediaRecorder* self, QUrl* location);
void QMediaRecorder_connect_ActualLocationChanged(QMediaRecorder* self, intptr_t slot);
void QMediaRecorder_ErrorWithError(QMediaRecorder* self, int error);
void QMediaRecorder_connect_ErrorWithError(QMediaRecorder* self, intptr_t slot);
void QMediaRecorder_MetaDataAvailableChanged(QMediaRecorder* self, bool available);
void QMediaRecorder_connect_MetaDataAvailableChanged(QMediaRecorder* self, intptr_t slot);
void QMediaRecorder_MetaDataWritableChanged(QMediaRecorder* self, bool writable);
void QMediaRecorder_connect_MetaDataWritableChanged(QMediaRecorder* self, intptr_t slot);
void QMediaRecorder_MetaDataChanged(QMediaRecorder* self);
void QMediaRecorder_connect_MetaDataChanged(QMediaRecorder* self, intptr_t slot);
void QMediaRecorder_MetaDataChanged2(QMediaRecorder* self, struct miqt_string key, QVariant* value);
void QMediaRecorder_connect_MetaDataChanged2(QMediaRecorder* self, intptr_t slot);
void QMediaRecorder_AvailabilityChanged(QMediaRecorder* self, bool available);
void QMediaRecorder_connect_AvailabilityChanged(QMediaRecorder* self, intptr_t slot);
void QMediaRecorder_AvailabilityChangedWithAvailability(QMediaRecorder* self, int availability);
void QMediaRecorder_connect_AvailabilityChangedWithAvailability(QMediaRecorder* self, intptr_t slot);
2024-11-19 06:29:06 +00:00
bool QMediaRecorder_SetMediaObject(QMediaRecorder* self, QMediaObject* object);
2024-11-04 10:15:32 +00:00
struct miqt_string QMediaRecorder_Tr2(const char* s, const char* c);
struct miqt_string QMediaRecorder_Tr3(const char* s, const char* c, int n);
struct miqt_string QMediaRecorder_TrUtf82(const char* s, const char* c);
struct miqt_string QMediaRecorder_TrUtf83(const char* s, const char* c, int n);
struct miqt_array /* of int */ QMediaRecorder_SupportedAudioSampleRates1(const QMediaRecorder* self, QAudioEncoderSettings* settings);
struct miqt_array /* of int */ QMediaRecorder_SupportedAudioSampleRates2(const QMediaRecorder* self, QAudioEncoderSettings* settings, bool* continuous);
struct miqt_array /* of QSize* */ QMediaRecorder_SupportedResolutions1(const QMediaRecorder* self, QVideoEncoderSettings* settings);
struct miqt_array /* of QSize* */ QMediaRecorder_SupportedResolutions2(const QMediaRecorder* self, QVideoEncoderSettings* settings, bool* continuous);
struct miqt_array /* of double */ QMediaRecorder_SupportedFrameRates1(const QMediaRecorder* self, QVideoEncoderSettings* settings);
struct miqt_array /* of double */ QMediaRecorder_SupportedFrameRates2(const QMediaRecorder* self, QVideoEncoderSettings* settings, bool* continuous);
2024-11-04 10:15:32 +00:00
void QMediaRecorder_SetEncodingSettings2(QMediaRecorder* self, QAudioEncoderSettings* audioSettings, QVideoEncoderSettings* videoSettings);
void QMediaRecorder_SetEncodingSettings3(QMediaRecorder* self, QAudioEncoderSettings* audioSettings, QVideoEncoderSettings* videoSettings, struct miqt_string containerMimeType);
2024-11-19 06:29:06 +00:00
void QMediaRecorder_override_virtual_MediaObject(void* self, intptr_t slot);
QMediaObject* QMediaRecorder_virtualbase_MediaObject(const void* self);
void QMediaRecorder_override_virtual_SetMediaObject(void* self, intptr_t slot);
bool QMediaRecorder_virtualbase_SetMediaObject(void* self, QMediaObject* object);
void QMediaRecorder_override_virtual_Event(void* self, intptr_t slot);
bool QMediaRecorder_virtualbase_Event(void* self, QEvent* event);
void QMediaRecorder_override_virtual_EventFilter(void* self, intptr_t slot);
bool QMediaRecorder_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
void QMediaRecorder_override_virtual_TimerEvent(void* self, intptr_t slot);
void QMediaRecorder_virtualbase_TimerEvent(void* self, QTimerEvent* event);
void QMediaRecorder_override_virtual_ChildEvent(void* self, intptr_t slot);
void QMediaRecorder_virtualbase_ChildEvent(void* self, QChildEvent* event);
void QMediaRecorder_override_virtual_CustomEvent(void* self, intptr_t slot);
void QMediaRecorder_virtualbase_CustomEvent(void* self, QEvent* event);
void QMediaRecorder_override_virtual_ConnectNotify(void* self, intptr_t slot);
void QMediaRecorder_virtualbase_ConnectNotify(void* self, QMetaMethod* signal);
void QMediaRecorder_override_virtual_DisconnectNotify(void* self, intptr_t slot);
void QMediaRecorder_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
void QMediaRecorder_Delete(QMediaRecorder* self, bool isSubclass);
2024-11-04 10:15:32 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif