mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 17:08:38 +00:00
48 lines
1.4 KiB
C++
48 lines
1.4 KiB
C++
#ifndef GEN_QCAMERAINFO_H
|
|
#define GEN_QCAMERAINFO_H
|
|
|
|
#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 QByteArray;
|
|
class QCamera;
|
|
class QCameraInfo;
|
|
#else
|
|
typedef struct QByteArray QByteArray;
|
|
typedef struct QCamera QCamera;
|
|
typedef struct QCameraInfo QCameraInfo;
|
|
#endif
|
|
|
|
QCameraInfo* QCameraInfo_new();
|
|
QCameraInfo* QCameraInfo_new2(QCamera* camera);
|
|
QCameraInfo* QCameraInfo_new3(QCameraInfo* other);
|
|
QCameraInfo* QCameraInfo_new4(struct miqt_string name);
|
|
void QCameraInfo_OperatorAssign(QCameraInfo* self, QCameraInfo* other);
|
|
bool QCameraInfo_OperatorEqual(const QCameraInfo* self, QCameraInfo* other);
|
|
bool QCameraInfo_OperatorNotEqual(const QCameraInfo* self, QCameraInfo* other);
|
|
bool QCameraInfo_IsNull(const QCameraInfo* self);
|
|
struct miqt_string QCameraInfo_DeviceName(const QCameraInfo* self);
|
|
struct miqt_string QCameraInfo_Description(const QCameraInfo* self);
|
|
int QCameraInfo_Position(const QCameraInfo* self);
|
|
int QCameraInfo_Orientation(const QCameraInfo* self);
|
|
QCameraInfo* QCameraInfo_DefaultCamera();
|
|
struct miqt_array QCameraInfo_AvailableCameras();
|
|
struct miqt_array QCameraInfo_AvailableCameras1(int position);
|
|
void QCameraInfo_Delete(QCameraInfo* self);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|