|
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 the License "Symbian Foundation License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Test AknsDrawUtils.h |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef C_TESTSDKSKINSCONTROL_H |
|
19 #define C_TESTSDKSKINSCONTROL_H |
|
20 |
|
21 // INCLUDES |
|
22 |
|
23 #include <e32base.h> |
|
24 #include <coedef.h> |
|
25 #include <coecntrl.h> |
|
26 |
|
27 /** |
|
28 * CTestSDKNotesNoteDialog test class for CAknNoteDialog protected API. |
|
29 */ |
|
30 class CTestSDKSkinsControl : public CCoeControl |
|
31 { |
|
32 public: |
|
33 /** |
|
34 * Two-phased constructor. |
|
35 */ |
|
36 static CTestSDKSkinsControl* NewL(); |
|
37 |
|
38 /** |
|
39 * Destructor. |
|
40 */ |
|
41 ~CTestSDKSkinsControl(); |
|
42 |
|
43 /** |
|
44 * fuction ActivateGc for test ActivateGc |
|
45 */ |
|
46 void ActivateGc(); |
|
47 |
|
48 /** |
|
49 * fuction DeActivateGc for test DeActivateGc |
|
50 */ |
|
51 void DeactivateGc(); |
|
52 |
|
53 private: |
|
54 |
|
55 /** |
|
56 * Constructor. |
|
57 */ |
|
58 CTestSDKSkinsControl(); |
|
59 |
|
60 /** |
|
61 * By default Symbian 2nd phase constructor is private. |
|
62 */ |
|
63 void ConstructL(); |
|
64 |
|
65 /** |
|
66 * Receive key events. |
|
67 */ |
|
68 TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType); |
|
69 |
|
70 /** |
|
71 * Draw control. |
|
72 */ |
|
73 void Draw(const TRect& aRect) const; |
|
74 |
|
75 /** |
|
76 * Return number of controls in its window. |
|
77 */ |
|
78 TInt CountComponentControls() const; |
|
79 |
|
80 /** |
|
81 * Controls in its window. |
|
82 */ |
|
83 CCoeControl* ComponentControl(TInt aIndex) const; |
|
84 |
|
85 /** |
|
86 * Resize screen. |
|
87 */ |
|
88 void SizeChanged(); |
|
89 |
|
90 |
|
91 }; |
|
92 |
|
93 |
|
94 #endif /*C_TESTSDKSKINSCONTROL_H*/ |