enable dual camera
[platform/framework/native/media.git] / src / FMedia_CameraImpl.h
index e20406f..cb64cb4 100755 (executable)
@@ -47,6 +47,7 @@ namespace Tizen { namespace Media
 {
 class Camera;
 class ICameraEventListener;
+class _CameraRef;
 class _CameraEvent;
 class _CameraCoordinator;
 class _CameraCapability;
@@ -1331,13 +1332,6 @@ public:
        static void FocusStateChangedCb(camera_focus_state_e state, void *pUserData);
 
        /**
-        *      Function check fo this object is alive.
-        *
-        * @return              true if the object is alive, otherwise false.
-        */
-       static bool IsAlive(void);
-
-       /**
         * Gets the Impl instance.
         *
         * @return              The pointer to %_CameraImpl
@@ -1463,6 +1457,7 @@ private:
        CameraState __state;
        _CameraHandle __handle;
 
+       std::unique_ptr <_CameraRef> __pCameraRef;
        std::unique_ptr <_CameraEvent> __pCameraEvent;
        std::unique_ptr <_VideoStreamCoordinator> __pVideoStreamCoordinator;
        ICameraEventListener* __pCameraEventListener;
@@ -1522,7 +1517,6 @@ private:
        int __focusPoints[2][MAX_FOCUS_POINT];
        int __supportedFocusPointCount;
 
-       static bool __isUsed;
        static const int MAX_CAMERA_PLANE_COUNT = 4;
 };