Added getter for current resolution
[harmattan/cameraplus] / lib / qtcamvideomode.cpp
index 67aa7bc..762c108 100644 (file)
@@ -235,4 +235,8 @@ QtCamVideoSettings *QtCamVideoMode::settings() {
   return d->settings;
 }
 
+QtCamVideoResolution QtCamVideoMode::currentResolution() {
+  return d->resolution;
+}
+
 #include "moc_qtcamvideomode.cpp"