|
1 /* |
|
2 * Copyright (c) 2002 - 2007 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: Test aknradiobuttonsettingpage.h |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef C_TESTAKNRADIOBUTTONSETTINGPAGEPROTECTED_H |
|
19 #define C_TESTAKNRADIOBUTTONSETTINGPAGEPROTECTED_H |
|
20 |
|
21 //INCLUDE |
|
22 #include <aknradiobuttonsettingpage.h> |
|
23 |
|
24 /* |
|
25 * This class inherit from the CAknRadioButtonSettingPage class for |
|
26 * testing the CAknRadioButtonSettingPage's protected function |
|
27 */ |
|
28 class CTestRadioButtonSettingPage:public CAknRadioButtonSettingPage |
|
29 { |
|
30 public: |
|
31 /* |
|
32 * Constructor |
|
33 */ |
|
34 CTestRadioButtonSettingPage( TInt aResourceID, |
|
35 TInt& aCurrentSelectionIndex, |
|
36 const MDesCArray* aItemArray ); |
|
37 /* |
|
38 * Constructor |
|
39 */ |
|
40 CTestRadioButtonSettingPage( const TDesC* aSettingTitleText, |
|
41 TInt aSettingNumber, |
|
42 TInt aControlType, |
|
43 TInt aEditorResourceId, |
|
44 TInt aSettingPageResourceId, |
|
45 TInt& aCurrentSelectionIndex, |
|
46 const MDesCArray* aItemArray ); |
|
47 /* |
|
48 * Destructor |
|
49 */ |
|
50 ~CTestRadioButtonSettingPage(); |
|
51 /* |
|
52 * This fuction is wrote for testing UpdateSettingL() function |
|
53 */ |
|
54 void DoUpdateSettingL(); |
|
55 /* |
|
56 * This fuction is wrote for testing DynamicInitL() function |
|
57 */ |
|
58 void DoDynamicInitL(); |
|
59 /* |
|
60 * This fuction is wrote for testing SelectCurrentItemL() function |
|
61 */ |
|
62 void DoSelectCurrentItemL(); |
|
63 /* |
|
64 * This fuction is wrote for testing WriteInternalStateL() function |
|
65 */ |
|
66 void DoWriteInternalStateL(RWriteStream& aWriteStream) const; |
|
67 /* |
|
68 * This function is wrote for testing ProcessCommandL() function |
|
69 */ |
|
70 void TestProcessCommandL( TInt aCommandId ); |
|
71 }; |
|
72 |
|
73 #endif /*C_TESTAKNRADIOBUTTONSETTINGPAGEPROTECTED_H*/ |
|
74 |
|
75 //End file |
|
76 |
|
77 |