camera_plat/camcorder_ui_constants_api/inc/cameraplatpskeys.h
changeset 19 d9aefe59d544
parent 3 8b2d6d0384b0
child 21 fa6d9f75d6a6
child 28 3075d9b614e6
--- a/camera_plat/camcorder_ui_constants_api/inc/cameraplatpskeys.h	Tue Feb 02 00:01:39 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,67 +0,0 @@
-/*
-* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:  P&S keys defined in Camcorder area.
-*
-*/
-
-#ifndef CAMERAPLATPSKEYS_H
-#define CAMERAPLATPSKEYS_H
-
-/**
- *  A namespace container for Camera related P&S keys.
- *  
- *  
- *  In a practical usecase a product has camera slider and it must configure
- *  cenrep value of CameraPlatPSKeys::KPSCameraPlatUid. 
- *  
- *  When camera slider is opened , It must call
- *    
- *             RProperty::Set( CameraPlatPSKeys::KPSCameraPlatUid,
- *                             CameraPlatPSKeys::KLenscoverStatus,
- *                             ( TInt ) CcorUiPropertiesApi::EOpen );
- *
- *  When camera slider is closed , It must call
- *  
- *             RProperty::Set( CameraPlatPSKeys::KPSCameraPlatUid,
- *                             CameraPlatPSKeys::KLenscoverStatus,
- *                             ( TInt ) CcorUiPropertiesApi::EClosed );
- *     
- */
-namespace CameraPlatPSKeys
-    {
-    /**  The category of this P&S keys. */
-    const TUid KPSCameraPlatUid = { 0x101F857A }; // UID3 of Cameraapp
-    
-    /**  Contains the availability state of camera resource.
-     *  It can have one of the values of TStatus.
-     */
-    const TUint32 KLensCoverStatus = 0x00000001;
-    
-    /**
-     * Indicates the status of KLenscoverStatus
-     *
-     * Possible values are:
-     *
-     * 1: Lens cover is open and camera is usable
-     * 2: Lens cover is closed and camera cannot be used
-     *
-     */
-    enum TStatus
-        {        
-        EOpen = 1,        
-        EClosed
-        };
-    }
-
-#endif // CAMERAPLATPSKEYS_H