miqt/qt/multimedia/gen_qmediarecorder.h

159 lines
9.8 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT_MULTIMEDIA_GEN_QMEDIARECORDER_H
#define MIQT_QT_MULTIMEDIA_GEN_QMEDIARECORDER_H
2024-11-04 23:15:32 +13: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 19:29:06 +13:00
class QChildEvent;
class QEvent;
class QMediaBindableInterface;
2024-11-04 23:15:32 +13:00
class QMediaObject;
class QMediaRecorder;
2024-11-19 19:29:06 +13:00
class QMetaMethod;
2024-11-04 23:15:32 +13:00
class QMetaObject;
class QObject;
class QSize;
2024-11-19 19:29:06 +13:00
class QTimerEvent;
2024-11-04 23:15:32 +13:00
class QUrl;
class QVariant;
class QVideoEncoderSettings;
#else
typedef struct QAudioEncoderSettings QAudioEncoderSettings;
2024-11-19 19:29:06 +13:00
typedef struct QChildEvent QChildEvent;
typedef struct QEvent QEvent;
typedef struct QMediaBindableInterface QMediaBindableInterface;
2024-11-04 23:15:32 +13:00
typedef struct QMediaObject QMediaObject;
typedef struct QMediaRecorder QMediaRecorder;
2024-11-19 19:29:06 +13:00
typedef struct QMetaMethod QMetaMethod;
2024-11-04 23:15:32 +13:00
typedef struct QMetaObject QMetaObject;
typedef struct QObject QObject;
typedef struct QSize QSize;
2024-11-19 19:29:06 +13:00
typedef struct QTimerEvent QTimerEvent;
2024-11-04 23:15:32 +13:00
typedef struct QUrl QUrl;
typedef struct QVariant QVariant;
typedef struct QVideoEncoderSettings QVideoEncoderSettings;
#endif
2024-12-07 17:15:57 +13:00
QMediaRecorder* QMediaRecorder_new(QMediaObject* mediaObject);
QMediaRecorder* QMediaRecorder_new2(QMediaObject* mediaObject, QObject* parent);
void QMediaRecorder_virtbase(QMediaRecorder* src, QObject** outptr_QObject, QMediaBindableInterface** outptr_QMediaBindableInterface);
2025-02-01 13:45:16 +13: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);
struct miqt_string QMediaRecorder_containerDescription(const QMediaRecorder* self, struct miqt_string format);
struct miqt_array /* of struct miqt_string */ QMediaRecorder_supportedAudioCodecs(const QMediaRecorder* self);
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);
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);
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);
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);
bool QMediaRecorder_setMediaObject(QMediaRecorder* self, QMediaObject* object);
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);
void QMediaRecorder_setEncodingSettings2(QMediaRecorder* self, QAudioEncoderSettings* audioSettings, QVideoEncoderSettings* videoSettings);
void QMediaRecorder_setEncodingSettings3(QMediaRecorder* self, QAudioEncoderSettings* audioSettings, QVideoEncoderSettings* videoSettings, struct miqt_string containerMimeType);
bool QMediaRecorder_override_virtual_mediaObject(void* self, intptr_t slot);
QMediaObject* QMediaRecorder_virtualbase_mediaObject(const void* self);
bool QMediaRecorder_override_virtual_setMediaObject(void* self, intptr_t slot);
bool QMediaRecorder_virtualbase_setMediaObject(void* self, QMediaObject* object);
bool QMediaRecorder_override_virtual_event(void* self, intptr_t slot);
bool QMediaRecorder_virtualbase_event(void* self, QEvent* event);
bool QMediaRecorder_override_virtual_eventFilter(void* self, intptr_t slot);
bool QMediaRecorder_virtualbase_eventFilter(void* self, QObject* watched, QEvent* event);
bool QMediaRecorder_override_virtual_timerEvent(void* self, intptr_t slot);
void QMediaRecorder_virtualbase_timerEvent(void* self, QTimerEvent* event);
bool QMediaRecorder_override_virtual_childEvent(void* self, intptr_t slot);
void QMediaRecorder_virtualbase_childEvent(void* self, QChildEvent* event);
bool QMediaRecorder_override_virtual_customEvent(void* self, intptr_t slot);
void QMediaRecorder_virtualbase_customEvent(void* self, QEvent* event);
bool QMediaRecorder_override_virtual_connectNotify(void* self, intptr_t slot);
void QMediaRecorder_virtualbase_connectNotify(void* self, QMetaMethod* signal);
bool QMediaRecorder_override_virtual_disconnectNotify(void* self, intptr_t slot);
void QMediaRecorder_virtualbase_disconnectNotify(void* self, QMetaMethod* signal);
void QMediaRecorder_delete(QMediaRecorder* self);
2024-11-04 23:15:32 +13:00
#ifdef __cplusplus
} /* extern C */
2025-02-01 13:45:16 +13:00
#endif
2024-11-04 23:15:32 +13:00
#endif