classicui_pub/setting_pages_api/tsrc/inc/testaknradiobuttonsettingpageprotected.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:16:19 +0100
branchRCL_3
changeset 56 d48ab3b357f1
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

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