2024-11-04 23:15:32 +13:00
|
|
|
#include <QMediaBindableInterface>
|
|
|
|
#include <QMediaObject>
|
|
|
|
#include <qmediabindableinterface.h>
|
|
|
|
#include "gen_qmediabindableinterface.h"
|
2024-12-11 19:55:47 +13:00
|
|
|
|
2025-01-07 11:30:33 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
2024-12-11 19:55:47 +13:00
|
|
|
#endif
|
2024-11-04 23:15:32 +13:00
|
|
|
|
|
|
|
QMediaObject* QMediaBindableInterface_MediaObject(const QMediaBindableInterface* self) {
|
|
|
|
return self->mediaObject();
|
|
|
|
}
|
|
|
|
|
2024-11-19 19:29:06 +13:00
|
|
|
void QMediaBindableInterface_Delete(QMediaBindableInterface* self, bool isSubclass) {
|
|
|
|
if (isSubclass) {
|
|
|
|
delete dynamic_cast<QMediaBindableInterface*>( self );
|
|
|
|
} else {
|
|
|
|
delete self;
|
|
|
|
}
|
2024-11-04 23:15:32 +13:00
|
|
|
}
|
|
|
|
|