profilesapplication/Profiles/ProfileApp/SettingsViewSrc/CProfileKeypadVolumeSettingItem.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 15 Mar 2010 12:40:33 +0200
branchRCL_3
changeset 10 b79ee333c41d
parent 0 ca436256272f
permissions -rw-r--r--
Revision: 201009 Kit: 201010

/*
* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Setting item class for keypad volume setting.
*
*/



#ifndef CPROFILEKEYPADVOLUMESETTINGITEM_H
#define CPROFILEKEYPADVOLUMESETTINGITEM_H

// INCLUDES
#include <aknsettingitemlist.h>

// FORWARD DECLARATIONS
class CAknSettingPage;
class CAknKeySoundSystem;

// CLASS DECLARATION
/**
*  Setting item class for keypad volume setting.
*  CProfileKeypadVolumeSettingItem extends CAknEnumeratedTextPopupSettingItem
*  in order to launch
*  CProfileKeypadVolumeSettingPage instead of CAknPopupSettingPage.
*
*  @lib ProfileSettingsView.lib
*  @since 1.2
*/
NONSHARABLE_CLASS( CProfileKeypadVolumeSettingItem )
 : public CAknEnumeratedTextPopupSettingItem
	{
	public:		// Constructor

        /**
        * C++ constructor.
        */
		CProfileKeypadVolumeSettingItem(
			TInt aIdentifier,
			TInt& aValue,
			CAknKeySoundSystem* aSoundSystem );

	private:	// Functions from base classes

        /**
        * From CAknEnumeratedTextPopupSettingItem
        */
		void CompleteConstructionL();

        /**
        * From CAknEnumeratedTextPopupSettingItem
        */
		CAknSettingPage* CreateSettingPageL();

	private:	// Data

		// Ref: Pointer to AVKON key sound system
		CAknKeySoundSystem* iSoundSystem;

	};

#endif // CPROFILEKEYPADVOLUMESETTINGITEM_H

// End of File