|
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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef PROFILER_GUI_DOCUMENT_H |
|
21 #define PROFILER_GUI_DOCUMENT_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <AknDoc.h> |
|
25 |
|
26 // CONSTANTS |
|
27 |
|
28 // FORWARD DECLARATIONS |
|
29 class CEikAppUi; |
|
30 class CProfilerGuiModel; |
|
31 |
|
32 |
|
33 // CLASS DECLARATION |
|
34 |
|
35 /** |
|
36 * CProfilerGuiDocument application class. |
|
37 */ |
|
38 class CProfilerGuiDocument : public CAknDocument |
|
39 { |
|
40 public: // Constructors and destructor |
|
41 static CProfilerGuiDocument* NewL(CEikApplication& aApp); |
|
42 virtual ~CProfilerGuiDocument(); |
|
43 |
|
44 public: // New functions |
|
45 |
|
46 public: // from CEikDocument |
|
47 |
|
48 protected: // New functions |
|
49 |
|
50 protected: // Functions from base classes |
|
51 |
|
52 private: |
|
53 |
|
54 /** |
|
55 * EPOC default constructor. |
|
56 */ |
|
57 CProfilerGuiDocument(CEikApplication& aApp); |
|
58 void ConstructL(); |
|
59 |
|
60 private: |
|
61 |
|
62 /** |
|
63 * From CEikDocument, create CProfilerGuiAppUi "App UI" object. |
|
64 */ |
|
65 CEikAppUi* CreateAppUiL(); |
|
66 |
|
67 public: |
|
68 inline CProfilerGuiModel* Model() { return iModel; } |
|
69 |
|
70 private: |
|
71 CProfilerGuiModel* iModel; |
|
72 |
|
73 }; |
|
74 |
|
75 #endif |
|
76 |
|
77 // End of File |
|
78 |