|
1 /* |
|
2 * Copyright (c) 2008 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 is the header file for the CAdtUpdaterDocument class. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __ADTUPDATER_DOCUMENT_H__ |
|
19 #define __ADTUPDATER_DOCUMENT_H__ |
|
20 |
|
21 // System includes |
|
22 #include <AknDoc.h> |
|
23 #include <eikapp.h> |
|
24 |
|
25 // User includes |
|
26 |
|
27 // Forward declarations |
|
28 |
|
29 // Class declaration |
|
30 /** |
|
31 * @class CAdtUpdaterDocument |
|
32 * @brief The CAknDocument inheriting class. |
|
33 * @exe adtupdater.exe |
|
34 */ |
|
35 class CAdtUpdaterDocument : public CAknDocument |
|
36 { |
|
37 public: // Constructor and destructor |
|
38 |
|
39 /** |
|
40 * @brief Performs the first phase of 2-phase construction. |
|
41 * @param aApp CEikApplication& |
|
42 * @return CAdtUpdaterDocument* Pointer to the object of the document |
|
43 */ |
|
44 static CAdtUpdaterDocument* NewL( CEikApplication& aApp ); |
|
45 |
|
46 /** |
|
47 * @brief Destructor. |
|
48 */ |
|
49 ~CAdtUpdaterDocument(); |
|
50 |
|
51 private: // New functions |
|
52 |
|
53 /** |
|
54 * @brief C++ default Constructor. |
|
55 * @param aApp CEikApplication& |
|
56 */ |
|
57 CAdtUpdaterDocument( CEikApplication& aApp ); |
|
58 |
|
59 /** |
|
60 * @brief Performs the second phase of 2-phase construction. May leave. |
|
61 */ |
|
62 void ConstructL(); |
|
63 |
|
64 private: // Functions from base classes. |
|
65 |
|
66 /** |
|
67 * @brief From CEikCocument. Creates application UI class. |
|
68 */ |
|
69 CEikAppUi* CreateAppUiL(); |
|
70 }; |
|
71 |
|
72 #endif // __ADTUPDATER_DOCUMENT_H__ |
|
73 |
|
74 // End of file |