Rollback the removing const in the API
authorKyungYoun <ky99.won@samsung.com>
Thu, 27 Jun 2013 05:49:53 +0000 (14:49 +0900)
committerKyungYoun <ky99.won@samsung.com>
Thu, 27 Jun 2013 05:49:53 +0000 (14:49 +0900)
Change-Id: Id86625d52aef989b4f8471c74ab2734337991d3d
Signed-off-by: KyungYoun <ky99.won@samsung.com>
inc/FMediaCamera.h
src/FMediaCamera.cpp

index 15d082b..05bece6 100755 (executable)
@@ -1113,7 +1113,7 @@ public:
        * @remarks              This method works correctly when PowerOn() is executed.
        * @see                  GetCaptureFormat()
        */
-       result SetCaptureFormat(Tizen::Graphics::PixelFormat format);
+       result SetCaptureFormat(const Tizen::Graphics::PixelFormat format);
 
        /**
        * Gets the capturing format of the camera.
@@ -1175,7 +1175,7 @@ public:
        * @see                  GetPreviewFormat()
         * @see         GetSupportedPreviewFormatListN()
        */
-       result SetPreviewFormat(Tizen::Graphics::PixelFormat format);
+       result SetPreviewFormat(const Tizen::Graphics::PixelFormat format);
 
        /**
        * Gets the preview format of the camera.
index ee23718..1e34798 100755 (executable)
@@ -646,7 +646,7 @@ CATCH:
 }
 
 result
-Camera::SetCaptureFormat(Tizen::Graphics::PixelFormat format)
+Camera::SetCaptureFormat(const Tizen::Graphics::PixelFormat format)
 {
        SysAssertf(__pImpl != null, "Not yet constructed. Construct() should be called before use.");
        result r = E_SUCCESS;
@@ -694,7 +694,7 @@ Camera::GetSupportedCaptureFormatListN(void) const
 }
 
 result
-Camera::SetPreviewFormat(Tizen::Graphics::PixelFormat format)
+Camera::SetPreviewFormat(const Tizen::Graphics::PixelFormat format)
 {
        SysAssertf(__pImpl != null, "Not yet constructed. Construct() should be called before use.");
        result r = E_SUCCESS;