|
1 /* |
|
2 * Copyright (c) 2009 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: This file contains CTestCaseMenuView class |
|
15 * declaration. |
|
16 * |
|
17 */ |
|
18 |
|
19 #ifndef TESTCASEMENUVIEW_H |
|
20 #define TESTCASEMENUVIEW_H |
|
21 |
|
22 // INCLUDES |
|
23 #include "View.h" |
|
24 #include <aknnavide.h> |
|
25 |
|
26 |
|
27 // CONSTANTS |
|
28 // UID of view |
|
29 const TUid KTestCaseMenuViewId = {2}; |
|
30 |
|
31 // FORWARD DECLARATIONS |
|
32 class CTestCaseMenuContainer; |
|
33 |
|
34 // CLASS DECLARATION |
|
35 |
|
36 /** |
|
37 * CTestCaseMenuView view class. |
|
38 * |
|
39 */ |
|
40 class CTestCaseMenuView : public CView //CAknView |
|
41 { |
|
42 public: // Constructors and destructor |
|
43 |
|
44 /** |
|
45 * Symbian OS default constructor. |
|
46 */ |
|
47 void ConstructL(); |
|
48 |
|
49 /** |
|
50 * Destructor. |
|
51 */ |
|
52 ~CTestCaseMenuView(); |
|
53 |
|
54 public: // Functions from base classes |
|
55 |
|
56 /** |
|
57 * Returns view´s id. |
|
58 * @return View id. |
|
59 */ |
|
60 TUid Id() const; |
|
61 |
|
62 /** |
|
63 * Handles a command. |
|
64 * @param aCommand A command ID. |
|
65 */ |
|
66 void HandleCommandL( TInt aCommand ); |
|
67 |
|
68 /** |
|
69 * Handles client rect changes. |
|
70 */ |
|
71 void HandleClientRectChange(); |
|
72 |
|
73 private: |
|
74 |
|
75 /** |
|
76 * Initializes view when activated. |
|
77 * @param aPrevViewId Id of the previous view (not used). |
|
78 * @param aCustomMessageId Custom message id (not used). |
|
79 * @param aCustomMessage Custom message (not used). |
|
80 */ |
|
81 void DoActivateL(const TVwsViewId& aPrevViewId,TUid aCustomMessageId, |
|
82 const TDesC8& aCustomMessage); |
|
83 |
|
84 /** |
|
85 * Deactivates view. |
|
86 */ |
|
87 void DoDeactivate(); |
|
88 |
|
89 private: // Data |
|
90 CAknNavigationDecorator* iNaviDecorator; |
|
91 CTestCaseMenuContainer* iContainer; |
|
92 }; |
|
93 |
|
94 #endif |
|
95 |
|
96 // End of File |