miqt/qt/multimedia/gen_qmediatimerange.h

67 lines
3.5 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT_MULTIMEDIA_GEN_QMEDIATIMERANGE_H
#define MIQT_QT_MULTIMEDIA_GEN_QMEDIATIMERANGE_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 QMediaTimeInterval;
class QMediaTimeRange;
#else
typedef struct QMediaTimeInterval QMediaTimeInterval;
typedef struct QMediaTimeRange QMediaTimeRange;
#endif
2024-11-19 06:29:06 +00:00
void QMediaTimeInterval_new(QMediaTimeInterval** outptr_QMediaTimeInterval);
void QMediaTimeInterval_new2(long long start, long long end, QMediaTimeInterval** outptr_QMediaTimeInterval);
void QMediaTimeInterval_new3(QMediaTimeInterval* param1, QMediaTimeInterval** outptr_QMediaTimeInterval);
2024-11-04 10:15:32 +00:00
void QMediaTimeInterval_OperatorAssign(QMediaTimeInterval* self, QMediaTimeInterval* param1);
long long QMediaTimeInterval_Start(const QMediaTimeInterval* self);
long long QMediaTimeInterval_End(const QMediaTimeInterval* self);
bool QMediaTimeInterval_Contains(const QMediaTimeInterval* self, long long time);
bool QMediaTimeInterval_IsNormal(const QMediaTimeInterval* self);
QMediaTimeInterval* QMediaTimeInterval_Normalized(const QMediaTimeInterval* self);
QMediaTimeInterval* QMediaTimeInterval_Translated(const QMediaTimeInterval* self, long long offset);
2024-11-19 06:29:06 +00:00
void QMediaTimeInterval_Delete(QMediaTimeInterval* self, bool isSubclass);
2024-11-04 10:15:32 +00:00
2024-11-19 06:29:06 +00:00
void QMediaTimeRange_new(QMediaTimeRange** outptr_QMediaTimeRange);
void QMediaTimeRange_new2(long long start, long long end, QMediaTimeRange** outptr_QMediaTimeRange);
void QMediaTimeRange_new3(QMediaTimeInterval* param1, QMediaTimeRange** outptr_QMediaTimeRange);
void QMediaTimeRange_new4(QMediaTimeRange* rangeVal, QMediaTimeRange** outptr_QMediaTimeRange);
2024-11-04 10:15:32 +00:00
void QMediaTimeRange_OperatorAssign(QMediaTimeRange* self, QMediaTimeRange* param1);
void QMediaTimeRange_OperatorAssignWithQMediaTimeInterval(QMediaTimeRange* self, QMediaTimeInterval* param1);
long long QMediaTimeRange_EarliestTime(const QMediaTimeRange* self);
long long QMediaTimeRange_LatestTime(const QMediaTimeRange* self);
struct miqt_array /* of QMediaTimeInterval* */ QMediaTimeRange_Intervals(const QMediaTimeRange* self);
2024-11-04 10:15:32 +00:00
bool QMediaTimeRange_IsEmpty(const QMediaTimeRange* self);
bool QMediaTimeRange_IsContinuous(const QMediaTimeRange* self);
bool QMediaTimeRange_Contains(const QMediaTimeRange* self, long long time);
void QMediaTimeRange_AddInterval(QMediaTimeRange* self, long long start, long long end);
void QMediaTimeRange_AddIntervalWithInterval(QMediaTimeRange* self, QMediaTimeInterval* interval);
void QMediaTimeRange_AddTimeRange(QMediaTimeRange* self, QMediaTimeRange* param1);
void QMediaTimeRange_RemoveInterval(QMediaTimeRange* self, long long start, long long end);
void QMediaTimeRange_RemoveIntervalWithInterval(QMediaTimeRange* self, QMediaTimeInterval* interval);
void QMediaTimeRange_RemoveTimeRange(QMediaTimeRange* self, QMediaTimeRange* param1);
QMediaTimeRange* QMediaTimeRange_OperatorPlusAssign(QMediaTimeRange* self, QMediaTimeRange* param1);
QMediaTimeRange* QMediaTimeRange_OperatorPlusAssignWithQMediaTimeInterval(QMediaTimeRange* self, QMediaTimeInterval* param1);
QMediaTimeRange* QMediaTimeRange_OperatorMinusAssign(QMediaTimeRange* self, QMediaTimeRange* param1);
QMediaTimeRange* QMediaTimeRange_OperatorMinusAssignWithQMediaTimeInterval(QMediaTimeRange* self, QMediaTimeInterval* param1);
void QMediaTimeRange_Clear(QMediaTimeRange* self);
2024-11-19 06:29:06 +00:00
void QMediaTimeRange_Delete(QMediaTimeRange* self, bool isSubclass);
2024-11-04 10:15:32 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif