profilesapplication/Profiles/ProfileApp/SettingsViewSrc/CProfileVibraSettingItem.h
branchRCL_3
changeset 19 cd54903d48da
parent 0 ca436256272f
equal deleted inserted replaced
18:b7fa36b488f8 19:cd54903d48da
       
     1 /*
       
     2 * Copyright (c) 2008 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 class for Vibra settings.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CPROFILEVIBRASETTINGITEM_H
       
    21 #define CPROFILEVIBRASETTINGITEM_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <aknsettingitemlist.h>
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class CAknSettingPage;
       
    28 
       
    29 // CLASS DECLARATION
       
    30 /**
       
    31 *  Setting item class for Vibra settings.
       
    32 *  CProfileVibraSettingItem extends CAknBinaryPopupSettingItem
       
    33 *  in order to launch CProfileVibraSettingPage
       
    34 *  instead of CAknPopupSettingPage.
       
    35 *
       
    36 *  @lib ProfileSettingsView.lib
       
    37 *  @since 5.0
       
    38 */
       
    39 NONSHARABLE_CLASS( CProfileVibraSettingItem ) : public CAknBinaryPopupSettingItem
       
    40 	{
       
    41 	public:		// Constructors and destructor
       
    42 
       
    43         /**
       
    44         * C++ constructor.
       
    45         * @param aIdentifier Setting item identifier.
       
    46         * @param aValue Vibra setting value.
       
    47         */
       
    48 		CProfileVibraSettingItem(
       
    49 			TInt aIdentifier,
       
    50 			TBool& aValue );
       
    51 
       
    52 	private:	// Functions from base classes
       
    53 
       
    54         /**
       
    55         * From CAknBinaryPopupSettingItem
       
    56         */
       
    57 		CAknSettingPage* CreateSettingPageL();
       
    58 
       
    59 	private:	// Data
       
    60 
       
    61 	};
       
    62 
       
    63 #endif // CPROFILEVIBRASETTINGITEM_H
       
    64 
       
    65 // End of File