miqt/qt/multimedia/gen_qsound.h

75 lines
2.7 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT_MULTIMEDIA_GEN_QSOUND_H
#define MIQT_QT_MULTIMEDIA_GEN_QSOUND_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
2024-11-19 06:29:06 +00:00
class QChildEvent;
class QEvent;
class QMetaMethod;
2024-11-04 10:15:32 +00:00
class QMetaObject;
class QObject;
class QSound;
2024-11-19 06:29:06 +00:00
class QTimerEvent;
2024-11-04 10:15:32 +00:00
#else
2024-11-19 06:29:06 +00:00
typedef struct QChildEvent QChildEvent;
typedef struct QEvent QEvent;
typedef struct QMetaMethod QMetaMethod;
2024-11-04 10:15:32 +00:00
typedef struct QMetaObject QMetaObject;
typedef struct QObject QObject;
typedef struct QSound QSound;
2024-11-19 06:29:06 +00:00
typedef struct QTimerEvent QTimerEvent;
2024-11-04 10:15:32 +00:00
#endif
2024-12-07 04:15:57 +00:00
QSound* QSound_new(struct miqt_string filename);
QSound* QSound_new2(struct miqt_string filename, QObject* parent);
void QSound_virtbase(QSound* src, QObject** outptr_QObject);
2024-11-04 10:15:32 +00:00
QMetaObject* QSound_MetaObject(const QSound* self);
void* QSound_Metacast(QSound* self, const char* param1);
struct miqt_string QSound_Tr(const char* s);
struct miqt_string QSound_TrUtf8(const char* s);
void QSound_Play(struct miqt_string filename);
int QSound_Loops(const QSound* self);
int QSound_LoopsRemaining(const QSound* self);
void QSound_SetLoops(QSound* self, int loops);
struct miqt_string QSound_FileName(const QSound* self);
bool QSound_IsFinished(const QSound* self);
void QSound_Play2(QSound* self);
void QSound_Stop(QSound* self);
struct miqt_string QSound_Tr2(const char* s, const char* c);
struct miqt_string QSound_Tr3(const char* s, const char* c, int n);
struct miqt_string QSound_TrUtf82(const char* s, const char* c);
struct miqt_string QSound_TrUtf83(const char* s, const char* c, int n);
2024-11-19 06:29:06 +00:00
void QSound_override_virtual_Event(void* self, intptr_t slot);
bool QSound_virtualbase_Event(void* self, QEvent* event);
void QSound_override_virtual_EventFilter(void* self, intptr_t slot);
bool QSound_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
void QSound_override_virtual_TimerEvent(void* self, intptr_t slot);
void QSound_virtualbase_TimerEvent(void* self, QTimerEvent* event);
void QSound_override_virtual_ChildEvent(void* self, intptr_t slot);
void QSound_virtualbase_ChildEvent(void* self, QChildEvent* event);
void QSound_override_virtual_CustomEvent(void* self, intptr_t slot);
void QSound_virtualbase_CustomEvent(void* self, QEvent* event);
void QSound_override_virtual_ConnectNotify(void* self, intptr_t slot);
void QSound_virtualbase_ConnectNotify(void* self, QMetaMethod* signal);
void QSound_override_virtual_DisconnectNotify(void* self, intptr_t slot);
void QSound_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
void QSound_Delete(QSound* self, bool isSubclass);
2024-11-04 10:15:32 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif