1 /* |
|
2 * Copyright (c) 2005 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: Implementation for document class of Settings UI Server |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include <eikappui.h> |
|
20 |
|
21 #include "locsettingsuisrvdocument.h" |
|
22 #include "locsettingsuisrvappui.h" |
|
23 #include "locsysuiengine.h" |
|
24 |
|
25 // ======== MEMBER FUNCTIONS ======== |
|
26 |
|
27 // --------------------------------------------------------------------------- |
|
28 // CLocSettingsUISrvDoc::CLocSettingsUISrvDoc |
|
29 // --------------------------------------------------------------------------- |
|
30 // |
|
31 CLocSettingsUISrvDoc::CLocSettingsUISrvDoc(CEikApplication &aApp) |
|
32 :CAknDocument(aApp) |
|
33 { |
|
34 } |
|
35 |
|
36 |
|
37 // --------------------------------------------------------------------------- |
|
38 // CLocSettingsUISrvDoc::CLocSettingsUISrvDoc |
|
39 // --------------------------------------------------------------------------- |
|
40 // |
|
41 CLocSettingsUISrvDoc::~CLocSettingsUISrvDoc() |
|
42 { |
|
43 delete iEngine; |
|
44 } |
|
45 |
|
46 |
|
47 // --------------------------------------------------------------------------- |
|
48 // CLocSettingsUISrvDoc::SetEngineInstance(CLocSysUiEngine* aEngine) |
|
49 // --------------------------------------------------------------------------- |
|
50 // |
|
51 void CLocSettingsUISrvDoc::SetEngineInstance(CLocSysUiEngine* aEngine) |
|
52 { |
|
53 iEngine = aEngine; |
|
54 } |
|
55 |
|
56 |
|
57 // --------------------------------------------------------------------------- |
|
58 // CLocSettingsUISrvDoc::Engine() |
|
59 // --------------------------------------------------------------------------- |
|
60 // |
|
61 CLocSysUiEngine* CLocSettingsUISrvDoc::Engine() |
|
62 { |
|
63 return iEngine; |
|
64 } |
|
65 |
|
66 |
|
67 // --------------------------------------------------------------------------- |
|
68 // CLocSettingsUISrvDoc::CreateAppUiL |
|
69 // --------------------------------------------------------------------------- |
|
70 // |
|
71 CEikAppUi* CLocSettingsUISrvDoc::CreateAppUiL() |
|
72 { |
|
73 return new(ELeave) CLocSettingsUISrvAppUi; |
|
74 } |
|
75 |
|
76 //End of file |
|