camerauis/cameraapp/generic/common/inc/CamLocalViewIds.h
changeset 0 1ddebce53859
equal deleted inserted replaced
-1:000000000000 0:1ddebce53859
       
     1 /*
       
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  ID's for all Camera Plugin Views
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef  CAMLOCALVIEWIDS_H
       
    20 #define  CAMLOCALVIEWIDS_H
       
    21 
       
    22 #include "CamAppUiBase.h"
       
    23 
       
    24 //
       
    25 // Constants used from Camera Settings Plugin
       
    26 //
       
    27 const TUid KGSCamImageSettingsViewId = {50};
       
    28 const TUid KGSCamVideoSettingsViewId = {51};
       
    29 
       
    30 // Uid to actually launch back the appropriate views from settings application
       
    31 // and these are used only when camera plugin is launched from camera.
       
    32 // the values are obtained from "CamAppUiBase.h"
       
    33 
       
    34 const TUid KImagePreCaptureId = { ECamViewIdStillPreCapture };
       
    35 const TUid KVideoPreCaptureId = { ECamViewIdVideoPreCapture };
       
    36 
       
    37 // Following are the message uids which are used to communicate to the camera application
       
    38 // to handle specific case seperately.
       
    39 
       
    40 // Message Uid meant for activating appropriate Image/Video Precapture view. 
       
    41 const TUid KMsgActivatePreCaptureView = {0};
       
    42 
       
    43 // message uid meant for exiting camera from plugin
       
    44 const TUid KMsgExitCameraFromPlugin = {1};
       
    45 
       
    46 // message uid meant for resetting camera settings
       
    47 const TUid KMsgRestoreSettingsUid = {2};
       
    48 
       
    49 /*
       
    50 * Id's to activate the local plugin views; used from both camera and setting plugin
       
    51 */
       
    52 const TInt KGSActivatePhotoSettingsView = 10;
       
    53 const TInt KGSActivateVideoSettingsView = 20;
       
    54 const TInt KGSSecondaryCameraPhotoSettingsView = 30;
       
    55 const TInt KGSSecondaryCameraVideoSettingsView = 40;
       
    56 
       
    57 #endif //CamLocalViewIds_H
       
    58 // End of File