camerauis/cameraxui/cxengine/inc/cxesnapshotcontrol.h
changeset 41 67457b2ffb33
parent 38 0f0b4c1d7744
--- a/camerauis/cameraxui/cxengine/inc/cxesnapshotcontrol.h	Thu Jul 15 01:49:11 2010 +0300
+++ b/camerauis/cameraxui/cxengine/inc/cxesnapshotcontrol.h	Thu Jul 15 01:52:14 2010 +0300
@@ -20,6 +20,7 @@
 
 #include <QObject>
 #include "cxeerror.h"
+#include "cxenamespace.h"
 
 class CxeCameraDevice;
 class CxeSnapshotControlPrivate;
@@ -47,13 +48,13 @@
 
 public:
     State state() const;
-    QSize calculateSnapshotSize(const QSize& displaySize, const QSize& outputResolution) const;
-    void start(const QSize& size);
+    QSize calculateSnapshotSize(const QSize& displaySize, Cxe::AspectRatio aspectRatio) const;
+    void start(const QSize &size);
     void stop();
 
 signals:
     void stateChanged(CxeSnapshotControl::State newState, CxeError::Id status);
-    void snapshotReady(CxeError::Id status, const QPixmap& snapshot);
+    void snapshotReady(CxeError::Id status, const QImage &snapshot);
 
 public slots:
     void handleCameraEvent(int id, int error);