1 /* |
|
2 * Copyright (c) 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: declaration of view |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_BCTESTDOMAVKONPSLNVIEW_H |
|
20 #define C_BCTESTDOMAVKONPSLNVIEW_H |
|
21 |
|
22 #include <aknview.h> |
|
23 |
|
24 const TUid KBCTestDomainViewId = { 1 }; |
|
25 |
|
26 class CBCTestDomAvkonPslnContainer; |
|
27 class CBCTestUtil; |
|
28 |
|
29 /** |
|
30 * CBCTestDomAvkonPslnView class |
|
31 * |
|
32 * @lib bctestutil.lib |
|
33 */ |
|
34 class CBCTestDomAvkonPslnView : public CAknView |
|
35 { |
|
36 |
|
37 public: |
|
38 // Constructors and destructor |
|
39 |
|
40 /** |
|
41 * Symbian static 2nd constructor |
|
42 */ |
|
43 static CBCTestDomAvkonPslnView* NewL( CBCTestUtil* aUtil ); |
|
44 |
|
45 /** |
|
46 * destructor |
|
47 */ |
|
48 virtual ~CBCTestDomAvkonPslnView(); |
|
49 |
|
50 // from CAknView |
|
51 |
|
52 /** |
|
53 * Return view Id. |
|
54 */ |
|
55 TUid Id() const; |
|
56 |
|
57 /** |
|
58 * From CAknView, HandleCommandL. |
|
59 * @param aCommand Command to be handled. |
|
60 */ |
|
61 void HandleCommandL( TInt aCommand ); |
|
62 |
|
63 /** |
|
64 * getter of Container |
|
65 */ |
|
66 CBCTestDomAvkonPslnContainer* Container(); |
|
67 |
|
68 protected: // from CAknView |
|
69 |
|
70 /** |
|
71 * When view is activated, do something |
|
72 */ |
|
73 void DoActivateL( const TVwsViewId&, TUid, const TDesC8& ); |
|
74 |
|
75 /** |
|
76 * When view is deactivated, do something |
|
77 */ |
|
78 void DoDeactivate(); |
|
79 |
|
80 private: // constructor |
|
81 |
|
82 /** |
|
83 * C++ default constructor |
|
84 */ |
|
85 CBCTestDomAvkonPslnView(); |
|
86 |
|
87 /** |
|
88 * symbian 2nd constructor |
|
89 */ |
|
90 void ConstructL( CBCTestUtil* aUtil ); |
|
91 |
|
92 private: // data |
|
93 |
|
94 /** |
|
95 * pointor to the BC Test framework utility. |
|
96 * not own just refer to |
|
97 */ |
|
98 CBCTestUtil* iTestUtil; |
|
99 |
|
100 /** |
|
101 * pointor to the container. |
|
102 * own |
|
103 */ |
|
104 CBCTestDomAvkonPslnContainer* iContainer; |
|
105 |
|
106 }; |
|
107 |
|
108 #endif // C_BCTESTDOMAVKONPSLNVIEW_H |
|
109 |
|
110 // End of File |
|