miqt/qt6/multimedia/gen_qcameradevice.h

58 lines
2.1 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT6_MULTIMEDIA_GEN_QCAMERADEVICE_H
#define MIQT_QT6_MULTIMEDIA_GEN_QCAMERADEVICE_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 QCameraDevice;
class QCameraFormat;
class QSize;
#else
typedef struct QCameraDevice QCameraDevice;
typedef struct QCameraFormat QCameraFormat;
typedef struct QSize QSize;
#endif
2024-12-07 04:15:57 +00:00
QCameraFormat* QCameraFormat_new();
QCameraFormat* QCameraFormat_new2(QCameraFormat* other);
2024-11-04 10:15:32 +00:00
void QCameraFormat_OperatorAssign(QCameraFormat* self, QCameraFormat* other);
int QCameraFormat_PixelFormat(const QCameraFormat* self);
QSize* QCameraFormat_Resolution(const QCameraFormat* self);
float QCameraFormat_MinFrameRate(const QCameraFormat* self);
float QCameraFormat_MaxFrameRate(const QCameraFormat* self);
bool QCameraFormat_IsNull(const QCameraFormat* self);
bool QCameraFormat_OperatorEqual(const QCameraFormat* self, QCameraFormat* other);
bool QCameraFormat_OperatorNotEqual(const QCameraFormat* self, QCameraFormat* other);
2024-11-19 06:29:06 +00:00
void QCameraFormat_Delete(QCameraFormat* self, bool isSubclass);
2024-11-04 10:15:32 +00:00
2024-12-07 04:15:57 +00:00
QCameraDevice* QCameraDevice_new();
QCameraDevice* QCameraDevice_new2(QCameraDevice* other);
2024-11-04 10:15:32 +00:00
void QCameraDevice_OperatorAssign(QCameraDevice* self, QCameraDevice* other);
bool QCameraDevice_OperatorEqual(const QCameraDevice* self, QCameraDevice* other);
bool QCameraDevice_OperatorNotEqual(const QCameraDevice* self, QCameraDevice* other);
bool QCameraDevice_IsNull(const QCameraDevice* self);
struct miqt_string QCameraDevice_Id(const QCameraDevice* self);
struct miqt_string QCameraDevice_Description(const QCameraDevice* self);
bool QCameraDevice_IsDefault(const QCameraDevice* self);
int QCameraDevice_Position(const QCameraDevice* self);
struct miqt_array /* of QSize* */ QCameraDevice_PhotoResolutions(const QCameraDevice* self);
struct miqt_array /* of QCameraFormat* */ QCameraDevice_VideoFormats(const QCameraDevice* self);
2024-11-19 06:29:06 +00:00
void QCameraDevice_Delete(QCameraDevice* self, bool isSubclass);
2024-11-04 10:15:32 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif