miqt/qt6/multimedia/gen_qwavedecoder.h

94 lines
4.7 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT6_MULTIMEDIA_GEN_QWAVEDECODER_H
#define MIQT_QT6_MULTIMEDIA_GEN_QWAVEDECODER_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 QAudioFormat;
class QIODevice;
2024-11-19 06:29:06 +00:00
class QIODeviceBase;
2024-11-04 10:15:32 +00:00
class QMetaObject;
class QObject;
class QWaveDecoder;
#else
typedef struct QAudioFormat QAudioFormat;
typedef struct QIODevice QIODevice;
2024-11-19 06:29:06 +00:00
typedef struct QIODeviceBase QIODeviceBase;
2024-11-04 10:15:32 +00:00
typedef struct QMetaObject QMetaObject;
typedef struct QObject QObject;
typedef struct QWaveDecoder QWaveDecoder;
#endif
2024-11-19 06:29:06 +00:00
void QWaveDecoder_new(QIODevice* device, QWaveDecoder** outptr_QWaveDecoder, QIODevice** outptr_QIODevice, QObject** outptr_QObject, QIODeviceBase** outptr_QIODeviceBase);
void QWaveDecoder_new2(QIODevice* device, QAudioFormat* format, QWaveDecoder** outptr_QWaveDecoder, QIODevice** outptr_QIODevice, QObject** outptr_QObject, QIODeviceBase** outptr_QIODeviceBase);
void QWaveDecoder_new3(QIODevice* device, QObject* parent, QWaveDecoder** outptr_QWaveDecoder, QIODevice** outptr_QIODevice, QObject** outptr_QObject, QIODeviceBase** outptr_QIODeviceBase);
void QWaveDecoder_new4(QIODevice* device, QAudioFormat* format, QObject* parent, QWaveDecoder** outptr_QWaveDecoder, QIODevice** outptr_QIODevice, QObject** outptr_QObject, QIODeviceBase** outptr_QIODeviceBase);
2024-11-04 10:15:32 +00:00
QMetaObject* QWaveDecoder_MetaObject(const QWaveDecoder* self);
void* QWaveDecoder_Metacast(QWaveDecoder* self, const char* param1);
struct miqt_string QWaveDecoder_Tr(const char* s);
QAudioFormat* QWaveDecoder_AudioFormat(const QWaveDecoder* self);
QIODevice* QWaveDecoder_GetDevice(QWaveDecoder* self);
int QWaveDecoder_Duration(const QWaveDecoder* self);
long long QWaveDecoder_HeaderLength();
bool QWaveDecoder_Open(QWaveDecoder* self, int mode);
void QWaveDecoder_Close(QWaveDecoder* self);
bool QWaveDecoder_Seek(QWaveDecoder* self, long long pos);
long long QWaveDecoder_Pos(const QWaveDecoder* self);
long long QWaveDecoder_Size(const QWaveDecoder* self);
bool QWaveDecoder_IsSequential(const QWaveDecoder* self);
long long QWaveDecoder_BytesAvailable(const QWaveDecoder* self);
void QWaveDecoder_FormatKnown(QWaveDecoder* self);
void QWaveDecoder_connect_FormatKnown(QWaveDecoder* self, intptr_t slot);
void QWaveDecoder_ParsingError(QWaveDecoder* self);
void QWaveDecoder_connect_ParsingError(QWaveDecoder* self, intptr_t slot);
struct miqt_string QWaveDecoder_Tr2(const char* s, const char* c);
struct miqt_string QWaveDecoder_Tr3(const char* s, const char* c, int n);
2024-11-19 06:29:06 +00:00
void QWaveDecoder_override_virtual_Open(void* self, intptr_t slot);
bool QWaveDecoder_virtualbase_Open(void* self, int mode);
void QWaveDecoder_override_virtual_Close(void* self, intptr_t slot);
void QWaveDecoder_virtualbase_Close(void* self);
void QWaveDecoder_override_virtual_Seek(void* self, intptr_t slot);
bool QWaveDecoder_virtualbase_Seek(void* self, long long pos);
void QWaveDecoder_override_virtual_Pos(void* self, intptr_t slot);
long long QWaveDecoder_virtualbase_Pos(const void* self);
void QWaveDecoder_override_virtual_Size(void* self, intptr_t slot);
long long QWaveDecoder_virtualbase_Size(const void* self);
void QWaveDecoder_override_virtual_IsSequential(void* self, intptr_t slot);
bool QWaveDecoder_virtualbase_IsSequential(const void* self);
void QWaveDecoder_override_virtual_BytesAvailable(void* self, intptr_t slot);
long long QWaveDecoder_virtualbase_BytesAvailable(const void* self);
void QWaveDecoder_override_virtual_AtEnd(void* self, intptr_t slot);
bool QWaveDecoder_virtualbase_AtEnd(const void* self);
void QWaveDecoder_override_virtual_Reset(void* self, intptr_t slot);
bool QWaveDecoder_virtualbase_Reset(void* self);
void QWaveDecoder_override_virtual_BytesToWrite(void* self, intptr_t slot);
long long QWaveDecoder_virtualbase_BytesToWrite(const void* self);
void QWaveDecoder_override_virtual_CanReadLine(void* self, intptr_t slot);
bool QWaveDecoder_virtualbase_CanReadLine(const void* self);
void QWaveDecoder_override_virtual_WaitForReadyRead(void* self, intptr_t slot);
bool QWaveDecoder_virtualbase_WaitForReadyRead(void* self, int msecs);
void QWaveDecoder_override_virtual_WaitForBytesWritten(void* self, intptr_t slot);
bool QWaveDecoder_virtualbase_WaitForBytesWritten(void* self, int msecs);
void QWaveDecoder_override_virtual_ReadLineData(void* self, intptr_t slot);
long long QWaveDecoder_virtualbase_ReadLineData(void* self, char* data, long long maxlen);
void QWaveDecoder_override_virtual_SkipData(void* self, intptr_t slot);
long long QWaveDecoder_virtualbase_SkipData(void* self, long long maxSize);
void QWaveDecoder_Delete(QWaveDecoder* self, bool isSubclass);
2024-11-04 10:15:32 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif