miqt/qt/multimedia/gen_qmediabindableinterface.cpp

19 lines
477 B
C++
Raw Normal View History

2024-11-04 23:15:32 +13:00
#include <QMediaBindableInterface>
#include <QMediaObject>
#include <qmediabindableinterface.h>
#include "gen_qmediabindableinterface.h"
#include "_cgo_export.h"
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
}