|
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 api of alf_core_toolkit |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef TESTUIAIFBLOCKSHUITEXTCOMMANDCHILD_H |
|
20 #define TESTUIAIFBLOCKSHUITEXTCOMMANDCHILD_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32std.h> |
|
24 #include <e32base.h> |
|
25 #include <uiacceltk/huicommand.h> |
|
26 // CLASS DECLARATION |
|
27 |
|
28 /** |
|
29 * TTestUiAifBlocksHuiTextCommandChild |
|
30 * |
|
31 */ |
|
32 class TTestUiAifBlocksHuiTextCommandChild : public THuiTextCommand |
|
33 { |
|
34 public: |
|
35 // Constructors and destructor |
|
36 |
|
37 /** |
|
38 * Destructor. |
|
39 */ |
|
40 ~TTestUiAifBlocksHuiTextCommandChild(); |
|
41 |
|
42 /** |
|
43 * Two-phased constructor. |
|
44 */ |
|
45 static TTestUiAifBlocksHuiTextCommandChild* NewL( CHuiTextVisual& aTextVisual, const TDesC& aText, |
|
46 THuiOp aOperation = EHuiOpSetText ); |
|
47 |
|
48 /** |
|
49 * Two-phased constructor. |
|
50 */ |
|
51 static TTestUiAifBlocksHuiTextCommandChild* NewLC( CHuiTextVisual& aTextVisual, const TDesC& aText, |
|
52 THuiOp aOperation = EHuiOpSetText ); |
|
53 |
|
54 public: |
|
55 |
|
56 /** |
|
57 * Constructor for performing 1st stage construction |
|
58 */ |
|
59 TTestUiAifBlocksHuiTextCommandChild( CHuiTextVisual& aTextVisual, const TDesC& aText, |
|
60 THuiOp aOperation = EHuiOpSetText ); |
|
61 |
|
62 /** |
|
63 * EPOC default constructor for performing 2nd stage construction |
|
64 */ |
|
65 void ConstructL(); |
|
66 |
|
67 void SetCommandExtension( const TUid& aExtensionUid, TAny** aExtensionParams ); |
|
68 |
|
69 }; |
|
70 |
|
71 #endif // TESTUIAIFBLOCKSHUITEXTCOMMANDCHILD_H |