|
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 AknPopupField.h |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_TESTSDKPOPUPSCPF_H |
|
20 #define C_TESTSDKPOPUPSCPF_H |
|
21 |
|
22 #include <coecobs.h> |
|
23 #include <aknpopupfield.h> |
|
24 |
|
25 class CTestSDKPopupsCPF : public CAknPopupField |
|
26 { |
|
27 public:// Constructors and destructor |
|
28 /** |
|
29 * C++ default constructor. |
|
30 */ |
|
31 CTestSDKPopupsCPF(); |
|
32 |
|
33 /** |
|
34 * Destructor. |
|
35 */ |
|
36 ~CTestSDKPopupsCPF(); |
|
37 public: |
|
38 |
|
39 /** |
|
40 * HandleControlEventL test function for testing the |
|
41 * Test HandleControlEventL function |
|
42 */ |
|
43 void HandleControlEventL( CCoeControl* aControl,TCoeEvent aEvent ); |
|
44 |
|
45 /** |
|
46 * ProcessCommandL test function for testing the |
|
47 * Test ProcessCommandL function |
|
48 */ |
|
49 void ProcessCommandL( TInt aCommandId ); |
|
50 |
|
51 /** |
|
52 * HandleListBoxEventL test function for testing the |
|
53 * Test HandleListBoxEventL function |
|
54 */ |
|
55 void HandleListBoxEventL( CEikListBox* aListBox, TListBoxEvent aEventType ); |
|
56 |
|
57 /** |
|
58 * CountComponentControls test function for testing the |
|
59 * Test CountComponentControls function |
|
60 */ |
|
61 TInt CountComponentControls() const; |
|
62 |
|
63 /** |
|
64 * ComponentControl test function for testing the |
|
65 * Test ComponentControl function |
|
66 */ |
|
67 CCoeControl* ComponentControl(TInt aIndex) const; |
|
68 |
|
69 /** |
|
70 * SizeChanged test function for testing the |
|
71 * Test SizeChanged function |
|
72 */ |
|
73 void SizeChanged(); |
|
74 |
|
75 /** |
|
76 * FocusChanged test function for testing the |
|
77 * Test FocusChanged function |
|
78 */ |
|
79 void FocusChanged( TDrawNow aDrawNow ); |
|
80 |
|
81 /** |
|
82 * Draw test function for testing the |
|
83 * Test Draw function |
|
84 */ |
|
85 void Draw(const TRect& aRect) const; |
|
86 |
|
87 /** |
|
88 * MopSupplyObject test function for testing the |
|
89 * Test MopSupplyObject function |
|
90 */ |
|
91 TTypeUid::Ptr MopSupplyObject( TTypeUid aId ); |
|
92 |
|
93 }; |
|
94 #endif /*C_TESTSDKPOPUPSCPF_H*/ |