miqt/qt/multimedia/gen_qmediacontent.h

57 lines
2.3 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT_MULTIMEDIA_GEN_QMEDIACONTENT_H
#define MIQT_QT_MULTIMEDIA_GEN_QMEDIACONTENT_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 QMediaContent;
class QMediaPlaylist;
class QMediaResource;
class QNetworkRequest;
class QUrl;
#else
typedef struct QMediaContent QMediaContent;
typedef struct QMediaPlaylist QMediaPlaylist;
typedef struct QMediaResource QMediaResource;
typedef struct QNetworkRequest QNetworkRequest;
typedef struct QUrl QUrl;
#endif
2024-11-19 06:29:06 +00:00
void QMediaContent_new(QMediaContent** outptr_QMediaContent);
void QMediaContent_new2(QUrl* contentUrl, QMediaContent** outptr_QMediaContent);
void QMediaContent_new3(QNetworkRequest* contentRequest, QMediaContent** outptr_QMediaContent);
void QMediaContent_new4(QMediaResource* contentResource, QMediaContent** outptr_QMediaContent);
void QMediaContent_new5(struct miqt_array /* of QMediaResource* */ resources, QMediaContent** outptr_QMediaContent);
void QMediaContent_new6(QMediaContent* other, QMediaContent** outptr_QMediaContent);
void QMediaContent_new7(QMediaPlaylist* playlist, QMediaContent** outptr_QMediaContent);
void QMediaContent_new8(QMediaPlaylist* playlist, QUrl* contentUrl, QMediaContent** outptr_QMediaContent);
void QMediaContent_new9(QMediaPlaylist* playlist, QUrl* contentUrl, bool takeOwnership, QMediaContent** outptr_QMediaContent);
2024-11-04 10:15:32 +00:00
void QMediaContent_OperatorAssign(QMediaContent* self, QMediaContent* other);
bool QMediaContent_OperatorEqual(const QMediaContent* self, QMediaContent* other);
bool QMediaContent_OperatorNotEqual(const QMediaContent* self, QMediaContent* other);
bool QMediaContent_IsNull(const QMediaContent* self);
QNetworkRequest* QMediaContent_Request(const QMediaContent* self);
QUrl* QMediaContent_CanonicalUrl(const QMediaContent* self);
QNetworkRequest* QMediaContent_CanonicalRequest(const QMediaContent* self);
QMediaResource* QMediaContent_CanonicalResource(const QMediaContent* self);
struct miqt_array /* of QMediaResource* */ QMediaContent_Resources(const QMediaContent* self);
2024-11-04 10:15:32 +00:00
QMediaPlaylist* QMediaContent_Playlist(const QMediaContent* self);
2024-11-19 06:29:06 +00:00
void QMediaContent_Delete(QMediaContent* self, bool isSubclass);
2024-11-04 10:15:32 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif