profilesapplication/Profiles/ProfileApp/SettingsViewSrc/CProfileVibraSettingItem.cpp
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 // INCLUDES
       
    21 #include "CProfileVibraSettingItem.h"
       
    22 #include "CProfileVibraSettingPage.h"
       
    23 
       
    24 // ============================ MEMBER FUNCTIONS ===============================
       
    25 
       
    26 // -----------------------------------------------------------------------------
       
    27 // CProfileVibraSettingItem::CProfileVibraSettingItem
       
    28 // C++ constructor can NOT contain any code, that might leave.
       
    29 // -----------------------------------------------------------------------------
       
    30 //
       
    31 CProfileVibraSettingItem::CProfileVibraSettingItem(
       
    32 	TInt aIdentifier, TBool& aValue )
       
    33 	:	CAknBinaryPopupSettingItem( aIdentifier, aValue )
       
    34 	{
       
    35 	}
       
    36 
       
    37 
       
    38 // -----------------------------------------------------------------------------
       
    39 // CProfileVibraSettingItem::CreateSettingPageL
       
    40 // -----------------------------------------------------------------------------
       
    41 //
       
    42 CAknSettingPage* CProfileVibraSettingItem::CreateSettingPageL()
       
    43 	{
       
    44 	return new( ELeave ) CProfileVibraSettingPage(
       
    45 		SettingPageResourceId(),
       
    46 		*QueryValue() );
       
    47 	}
       
    48 
       
    49 // End of File