camerauis/cameraxui/cxengine/inc/cxevideocapturecontrolsymbian.h
changeset 48 42ba2d16bf40
parent 37 64817133cd1d
equal deleted inserted replaced
37:64817133cd1d 48:42ba2d16bf40
     1 /*
     1 /*
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   104     // notifications when ECam reference is changed
   104     // notifications when ECam reference is changed
   105     void prepareForCameraDelete();
   105     void prepareForCameraDelete();
   106     void handleCameraAllocated(CxeError::Id error);
   106     void handleCameraAllocated(CxeError::Id error);
   107     void prepareForRelease();
   107     void prepareForRelease();
   108     // settings call back
   108     // settings call back
   109     void handleSettingValueChanged(const QString& settingId,QVariant newValue);
   109     void handleSettingValueChanged(const QString &settingId, QVariant newValue);
   110     // scene mode change
   110     // scene mode change
   111     void handleSceneChanged(CxeScene& scene);
   111     void handleSceneChanged(const QVariant &scene);
   112     // Disk space change
   112     // Disk space change
   113     void handleDiskSpaceChanged();
   113     void handleDiskSpaceChanged();
       
   114     void hintUseCase();
   114 
   115 
   115 private: // helper methods
   116 private: // helper methods
   116     void releaseResources();
   117     void releaseResources();
   117     void initializeStates();
   118     void initializeStates();
   118     void getVideoQualityDetails(CxeVideoDetails &videoInfo);
   119     void updateVideoCaptureParameters();
   119     void initVideoRecorder();
   120     void initVideoRecorder();
   120     void open();
   121     void open();
   121     void prepare();
   122     void prepare();
       
   123     void prepareSnapshot();
   122     virtual void createVideoRecorder();
   124     virtual void createVideoRecorder();
   123     int calculateRemainingTime(const CxeVideoDetails& videoDetails);
   125     int calculateRemainingTime(const CxeVideoDetails &videoDetails);
   124     void updateRemainingRecordingTimeCounter();
   126     void updateRemainingRecordingTimeCounter();
   125     void generateFilename();
   127     void generateFilename();
   126     void handlePrepareFailed();
   128     void handlePrepareFailed();
   127     void handleComposeFailed(int error);
   129     void handleComposeFailed(int error);
   128     void emulateNormalStopping();
   130     void emulateNormalStopping();