camerauis/cameraapp/generic/GsCamcorderPlugin/inc/CamLocationSettingItem.h
branchRCL_3
changeset 24 bac7acad7cb3
parent 0 1ddebce53859
equal deleted inserted replaced
23:61bc0f252b2b 24:bac7acad7cb3
       
     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:  Setting item for Location setting item in image settings*
       
    15 */
       
    16 
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CAMLOCATIONSETTINGITEM_H
       
    21 #define CAMLOCATIONSETTINGITEM_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <aknsettingitemlist.h>
       
    25 #include "CamStaticSettingsModel.h"
       
    26 #include "MCamAppController.h"
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31 * Setting item for image/video location texts
       
    32 * @since 2.8
       
    33 */
       
    34 class CCamLocationSettingItem : public CAknEnumeratedTextPopupSettingItem
       
    35     {
       
    36     public: // Constructors and destructor
       
    37         /**
       
    38         * C++ constructor
       
    39         * @since 2.8
       
    40         * @param aController reference to the controller 
       
    41         * @param aMode       current mode (video or still image)
       
    42         * @param aIdentifier setting page resource id
       
    43         * @param aValue      current name base type
       
    44         */
       
    45         CCamLocationSettingItem( TCamCameraMode aMode, 
       
    46                                  TInt aIdentifier, 
       
    47                                  TInt& aValue );
       
    48 
       
    49         /**
       
    50         * Destructor
       
    51         */
       
    52         virtual ~CCamLocationSettingItem();
       
    53 
       
    54     protected: // Functions from base classes
       
    55         /**
       
    56         * From CAknEnumeratedTextPopupSettingItem
       
    57         * @since 2.8
       
    58         * Framework method for constructing the launching setting page.
       
    59         * @return   a constructed CAknSettingPage object on the heap
       
    60         */
       
    61         CAknSettingPage* CreateSettingPageL();
       
    62 
       
    63         /**
       
    64         *
       
    65         * Virtual method called by framework to complete the construction.  
       
    66         * In this class, the two arrays, pointers to which can be obtained by calling 
       
    67         * EnumeratedTextArray() and PoppedUpTextArray() are created.
       
    68         *
       
    69         */
       
    70         void CompleteConstructionL();
       
    71 
       
    72     private: // Data
       
    73 
       
    74         // The current mode of capture.
       
    75         TCamCameraMode iMode;
       
    76     };
       
    77 
       
    78 #endif // CAMLOCATIONSETTINGITEM_H
       
    79 
       
    80 // End of File