diff -r aecbbf00d063 -r d48ab3b357f1 classicui_pub/setting_pages_api/tsrc/inc/testaknradiobuttonsettingpageprotected.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/classicui_pub/setting_pages_api/tsrc/inc/testaknradiobuttonsettingpageprotected.h Wed Sep 01 12:16:19 2010 +0100 @@ -0,0 +1,77 @@ +/* +* Copyright (c) 2002 - 2007 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: Test aknradiobuttonsettingpage.h +* +*/ + +#ifndef C_TESTAKNRADIOBUTTONSETTINGPAGEPROTECTED_H +#define C_TESTAKNRADIOBUTTONSETTINGPAGEPROTECTED_H + +//INCLUDE +#include + +/* + * This class inherit from the CAknRadioButtonSettingPage class for + * testing the CAknRadioButtonSettingPage's protected function + */ +class CTestRadioButtonSettingPage:public CAknRadioButtonSettingPage + { +public: + /* + * Constructor + */ + CTestRadioButtonSettingPage( TInt aResourceID, + TInt& aCurrentSelectionIndex, + const MDesCArray* aItemArray ); + /* + * Constructor + */ + CTestRadioButtonSettingPage( const TDesC* aSettingTitleText, + TInt aSettingNumber, + TInt aControlType, + TInt aEditorResourceId, + TInt aSettingPageResourceId, + TInt& aCurrentSelectionIndex, + const MDesCArray* aItemArray ); + /* + * Destructor + */ + ~CTestRadioButtonSettingPage(); + /* + * This fuction is wrote for testing UpdateSettingL() function + */ + void DoUpdateSettingL(); + /* + * This fuction is wrote for testing DynamicInitL() function + */ + void DoDynamicInitL(); + /* + * This fuction is wrote for testing SelectCurrentItemL() function + */ + void DoSelectCurrentItemL(); + /* + * This fuction is wrote for testing WriteInternalStateL() function + */ + void DoWriteInternalStateL(RWriteStream& aWriteStream) const; + /* + * This function is wrote for testing ProcessCommandL() function + */ + void TestProcessCommandL( TInt aCommandId ); + }; + +#endif /*C_TESTAKNRADIOBUTTONSETTINGPAGEPROTECTED_H*/ + +//End file + +