camerauis/cameraapp/generic/GsCamcorderPlugin/inc/GSCamCaptureToneSettingItem.h
branchRCL_3
changeset 54 bac7acad7cb3
parent 16 d486e5e3cc9a
equal deleted inserted replaced
53:61bc0f252b2b 54: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 capture tone
       
    15 */
       
    16 
       
    17 
       
    18 #ifndef GSCAMCAPTURETONESETTINGITEM_H_
       
    19 #define GSCAMCAPTURETONESETTINGITEM_H_
       
    20 
       
    21 //  INCLUDES
       
    22 #include <aknsettingitemlist.h>
       
    23 
       
    24 /**
       
    25 * Setting item for capture tone selection
       
    26 * @since 5.0
       
    27  */
       
    28 class CGSCamCaptureToneSettingItem : public CAknEnumeratedTextPopupSettingItem
       
    29     {
       
    30 public:
       
    31     // Constructors and destructor
       
    32     /**
       
    33      * C++ constructor
       
    34      * @since 5.0
       
    35      * @param aIdentifier setting page resource id
       
    36      * @param aValue      current name base type
       
    37      */
       
    38     CGSCamCaptureToneSettingItem(TInt aIdentifier,
       
    39             TInt& aValue);
       
    40     
       
    41     /**
       
    42      * Destructor
       
    43      */
       
    44     virtual ~CGSCamCaptureToneSettingItem();
       
    45     
       
    46 protected:// Functions from base classes
       
    47     /**
       
    48      *
       
    49      * Virtual method called by framework to complete the construction.  
       
    50      * In this fuction, if the "off" option is disabled in the cenrep,
       
    51      * it is removed from the setting item list (Enumerated List)
       
    52      */
       
    53     void CompleteConstructionL();
       
    54     };
       
    55 
       
    56 #endif /* CGSCAMCAPTURETONESETTINGITEM_H_ */