|
1 /* |
|
2 * Copyright (c) 2009-2010 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: Document definition. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef VoIPPROVISIONINGDOCUMENT_H |
|
20 #define VoIPPROVISIONINGDOCUMENT_H |
|
21 |
|
22 #ifdef _DEBUG |
|
23 #define EUNIT_FRIEND_CLASS( x ) friend class x; |
|
24 #else |
|
25 #define EUNIT_FRIEND_CLASS( x ) |
|
26 #endif |
|
27 |
|
28 // INCLUDES |
|
29 #include <akndoc.h> |
|
30 |
|
31 // FORWARD DECLARATIONS |
|
32 class CEikAppUi; |
|
33 class CVoIPProvisioningAppUi; |
|
34 |
|
35 // CLASS DECLARATION |
|
36 /** |
|
37 * CVoIPProvisioningDocument application class. |
|
38 */ |
|
39 class CVoIPProvisioningDocument : public CAknDocument |
|
40 { |
|
41 public: |
|
42 /** |
|
43 * C++ constructor. |
|
44 * @param CEikApplication& aApp |
|
45 * @return void |
|
46 */ |
|
47 CVoIPProvisioningDocument( CEikApplication& aApp ) : |
|
48 CAknDocument(aApp) { } |
|
49 |
|
50 /** |
|
51 * Destructor. |
|
52 * @param None |
|
53 * @return void |
|
54 */ |
|
55 virtual ~CVoIPProvisioningDocument(); |
|
56 |
|
57 |
|
58 // From CEikDocument. |
|
59 CFileStore* OpenFileL( TBool aDoOpen, const TDesC& aFilename, RFs& aFs ); |
|
60 void OpenFileL( CFileStore*& aFileStore, RFile& aFile ); |
|
61 |
|
62 private: |
|
63 /** |
|
64 * C++ default constructor. |
|
65 * @param None |
|
66 * @return void |
|
67 */ |
|
68 CVoIPProvisioningDocument(); |
|
69 |
|
70 /** |
|
71 * This method makes an application hidden so that it is not visible |
|
72 * for example in Applications list and FastSwap window. |
|
73 * @param CApaWindowGroupName* aWgName |
|
74 * @return void |
|
75 */ |
|
76 void UpdateTaskNameL( CApaWindowGroupName* aWgName ); |
|
77 |
|
78 private:// from CAknDocument |
|
79 /** |
|
80 * Create CVoIPProvisioningDocument "App UI" object. |
|
81 * @param None |
|
82 * @return CEikAppUi* |
|
83 */ |
|
84 CEikAppUi* CreateAppUiL(); |
|
85 |
|
86 EUNIT_FRIEND_CLASS( UT_CVoIPProvisioningDocument ) |
|
87 }; |
|
88 |
|
89 #endif // VoIPPROVISIONINGDOCUMENT_H |
|
90 |
|
91 // End of File |