1 /* |
|
2 * Copyright (c) 2002 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 * Document class required by Symbian OS architecture. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef __UISettingsSrvDocument_H__ |
|
21 #define __UISettingsSrvDocument_H__ |
|
22 |
|
23 // INCLUDES |
|
24 #include <AknDoc.h> |
|
25 |
|
26 // CONSTANTS |
|
27 |
|
28 // FORWARD DECLARATIONS |
|
29 class CEikAppUi; |
|
30 class CVpnSettingsUi; |
|
31 |
|
32 //sf-class CUISettingsSrvDocument; |
|
33 |
|
34 // CLASS DECLARATION |
|
35 |
|
36 /** |
|
37 * CGSDocument application class. |
|
38 */ |
|
39 class CUISettingsSrvDocument : public CAknDocument |
|
40 { |
|
41 public: // constructor and destructor |
|
42 /** |
|
43 * Two-phased constructor |
|
44 * @param aApp Application. |
|
45 * @return GS document. |
|
46 */ |
|
47 static CUISettingsSrvDocument* NewL(CEikApplication& aApp); |
|
48 |
|
49 /** |
|
50 * Destructor. |
|
51 */ |
|
52 virtual ~CUISettingsSrvDocument(); |
|
53 |
|
54 private: |
|
55 |
|
56 /** |
|
57 * C++ constructor |
|
58 */ |
|
59 CUISettingsSrvDocument(CEikApplication& aApp) : CAknDocument(aApp) { } |
|
60 |
|
61 /** |
|
62 * Symbian OS default constructor. |
|
63 * |
|
64 */ |
|
65 void ConstructL(); |
|
66 |
|
67 private: // from CEikDocument |
|
68 |
|
69 void UpdateTaskNameL(CApaWindowGroupName* aWgName); |
|
70 |
|
71 /** |
|
72 * Create CGSUi "App UI" object. |
|
73 * @return Eikon application UI. |
|
74 */ |
|
75 CEikAppUi* CreateAppUiL(); |
|
76 |
|
77 private: // data |
|
78 |
|
79 public: |
|
80 CVpnSettingsUi* iVpnSettingsUi; |
|
81 }; |
|
82 |
|
83 #endif // __UISettingsSrvDocument_H__ |
|
84 |
|