#include "videoplayer.h"
#include "viewfinder.h"
#include "capability.h"
+#include "imageresolution.h"
+#include "videoresolution.h"
+#include "quirks.h"
#if defined(QT4)
#include <QDeclarativeEngine>
#elif defined(QT5)
qmlRegisterType<VideoPlayer>("QtCameraExtras", MAJOR, MINOR, "VideoPlayer");
qmlRegisterType<Viewfinder>(uri, MAJOR, MINOR, "Viewfinder");
qmlRegisterType<Capability>();
+
+ qmlRegisterType<ImageResolution>(uri, MAJOR, MINOR, "ImageResolution");
+ qmlRegisterType<VideoResolution>(uri, MAJOR, MINOR, "VideoResolution");
+
+ qmlRegisterUncreatableType<Quirks>(uri, MAJOR, MINOR, "Quirks",
+ "Quirks can be obtained from Camera");
}
#if defined(QT4)