camerauis/cameraapp/generic/inc/CamDefaultNameSettingItem.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 name base type (date/text)*
       
    15 */
       
    16 
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CAMDEFAULTNAMESETTINGITEM_H
       
    21 #define CAMDEFAULTNAMESETTINGITEM_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include "CamAppController.h"
       
    25 #include <aknsettingitemlist.h>
       
    26 
       
    27 // CONSTANTS
       
    28 
       
    29 // MACROS
       
    30 
       
    31 // DATA TYPES
       
    32 
       
    33 // FUNCTION PROTOTYPES
       
    34 
       
    35 // FORWARD DECLARATIONS   
       
    36 
       
    37 // CLASS DECLARATION
       
    38 
       
    39 /**
       
    40 * Setting item for name base type (date/text)
       
    41 * @since 2.8
       
    42 */
       
    43 class CCamDefaultNameSettingItem : public CAknEnumeratedTextPopupSettingItem
       
    44     {
       
    45     public: // Constructors and destructor
       
    46         /**
       
    47         * C++ constructor
       
    48         * @since 2.8
       
    49         * @param aNameBase   current name base 
       
    50         * @param aMode       current mode (video or still image)
       
    51         * @param aIdentifier setting page resource id
       
    52         * @param aValue      current name base type
       
    53         */
       
    54         CCamDefaultNameSettingItem( TDes& aNameBase,
       
    55                                     TCamCameraMode aMode, 
       
    56                                     TInt aIdentifier, 
       
    57                                     TInt& aValue );
       
    58 
       
    59         /**
       
    60         * Destructor
       
    61         */
       
    62         virtual ~CCamDefaultNameSettingItem();
       
    63 
       
    64     protected: // Functions from base classes
       
    65         /**
       
    66         * From CAknEnumeratedTextPopupSettingItem
       
    67         * @since 2.8
       
    68         * Framework method for constructing the launching setting page.
       
    69         * @return   a constructed CAknSettingPage object on the heap
       
    70         */
       
    71         CAknSettingPage* CreateSettingPageL();
       
    72 
       
    73     private: // Data
       
    74         // Reference to the cuurent name base.
       
    75         TDes& iNameBase;
       
    76         // The current mode of capture.
       
    77         TCamCameraMode iMode;
       
    78     };
       
    79 
       
    80 
       
    81 #endif // CAMDEFAULTNAMESETTINGITEM_H
       
    82 
       
    83 // End of File