|
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 AknNoteDialog.h |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef C_TESTSDKNOTESNOTEDIALOG_H |
|
19 #define C_TESTSDKNOTESNOTEDIALOG_H |
|
20 |
|
21 // INCLUDES |
|
22 |
|
23 #include <aknnotedialog.h> |
|
24 #include <bassnd.h> |
|
25 #include <aknnotecontrol.h> |
|
26 |
|
27 /** |
|
28 * CTestSDKNotesNoteDialog test class for CAknNoteDialog protected API. |
|
29 */ |
|
30 class CTestSDKNotesNoteDialog : public CAknNoteDialog |
|
31 { |
|
32 public:// Constructors and destructor |
|
33 |
|
34 /** |
|
35 * C++ default constructor. |
|
36 */ |
|
37 CTestSDKNotesNoteDialog(); |
|
38 |
|
39 /** |
|
40 * Destructor. |
|
41 */ |
|
42 ~CTestSDKNotesNoteDialog(); |
|
43 |
|
44 public: |
|
45 /** |
|
46 * SetSizeAndPosition test function for testing the |
|
47 * Test SetSizeAndPosition function |
|
48 */ |
|
49 void SetSizeAndPosition( const TSize& aSize ); |
|
50 |
|
51 /** |
|
52 * PreLayoutDynInitL test function for testing the |
|
53 * Test PreLayoutDynInitL function |
|
54 */ |
|
55 void PreLayoutDynInitL(); |
|
56 |
|
57 /** |
|
58 * PostLayoutDynInitL test function for testing the |
|
59 * Test PostLayoutDynInitL function |
|
60 */ |
|
61 void PostLayoutDynInitL(); |
|
62 |
|
63 /** |
|
64 * PlayTone test function for testing the |
|
65 * Test PlayTone function |
|
66 */ |
|
67 void PlayTone(); |
|
68 |
|
69 /** |
|
70 * ReportUserActivity test function for testing the |
|
71 * Test ReportUserActivity function |
|
72 */ |
|
73 void ReportUserActivity() const; |
|
74 |
|
75 /** |
|
76 * StaticDeleteL test function for testing the |
|
77 * Test StaticDeleteL function |
|
78 */ |
|
79 static TInt StaticDeleteL( TAny* aThis ); |
|
80 |
|
81 /** |
|
82 * ControlAttributes test function for testing the |
|
83 * Test ControlAttributes function |
|
84 */ |
|
85 CAknNoteAttributes* ControlAttributes(); |
|
86 |
|
87 /** |
|
88 * TransferControlAttributes test function for testing the |
|
89 * Test TransferControlAttributes function |
|
90 */ |
|
91 void TransferControlAttributes(); |
|
92 |
|
93 /** |
|
94 * SoundSystem test function for testing the |
|
95 * Test SoundSystem function |
|
96 */ |
|
97 CAknKeySoundSystem* SoundSystem() const; |
|
98 |
|
99 /** |
|
100 * NoteControl test function for testing the |
|
101 * Test NoteControl function |
|
102 */ |
|
103 CAknNoteControl* NoteControl(); |
|
104 |
|
105 /** |
|
106 * SetNoMemoryAllocation test function for testing the |
|
107 * Test SetNoMemoryAllocation function |
|
108 */ |
|
109 void SetNoMemoryAllocation(); |
|
110 |
|
111 public:// Data |
|
112 /** |
|
113 * CPeriodic Property |
|
114 */ |
|
115 CPeriodic* iTimer; |
|
116 |
|
117 /** |
|
118 * Timeout Property |
|
119 */ |
|
120 TInt iTimeoutInMicroseconds; |
|
121 |
|
122 /** |
|
123 * CEikDialog Property |
|
124 */ |
|
125 CEikDialog** SelfPtr; |
|
126 |
|
127 /** |
|
128 * TTone Property |
|
129 */ |
|
130 TTone iTone; |
|
131 |
|
132 /** |
|
133 * CAknNoteAttributes Property |
|
134 */ |
|
135 CAknNoteAttributes* iControlAttributes; |
|
136 }; |
|
137 |
|
138 #endif /*C_TESTSDKNOTESNOTEDIALOG_H*/ |