classicui_pub/setting_pages_api/tsrc/inc/testaknradiobuttonsettingpageprotected.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 31 Mar 2010 21:59:52 +0300
branchRCL_3
changeset 15 08e69e956a8c
parent 0 2f259fa3e83a
permissions -rw-r--r--
Revision: 201011 Kit: 201013

/*
* 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 <aknradiobuttonsettingpage.h>

/*
 * 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