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: Fotaserver document class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 // INCLUDE FILES |
|
21 #include <StringLoader.h> |
|
22 #include <collate.h> |
|
23 #include <featmgr.h> |
|
24 #include <fotaserver.rsg> |
|
25 #include "FotaSrvDocument.h" |
|
26 #include "FotaSrvUI.h" |
|
27 #include "FotaSrvDebug.h" |
|
28 |
|
29 // ================= MEMBER FUNCTIONS ======================= |
|
30 |
|
31 // --------------------------------------------------------------------------- |
|
32 // Desctructor |
|
33 // --------------------------------------------------------------------------- |
|
34 // |
|
35 CFotaSrvDocument::~CFotaSrvDocument() |
|
36 { |
|
37 } |
|
38 |
|
39 |
|
40 // --------------------------------------------------------------------------- |
|
41 // CFotaSrvDocument::ConstructL |
|
42 // 2nd phase constructor |
|
43 // --------------------------------------------------------------------------- |
|
44 // |
|
45 void CFotaSrvDocument::ConstructL() |
|
46 { |
|
47 //iEikEnv = CEikonEnv::Static(); |
|
48 } |
|
49 |
|
50 |
|
51 // --------------------------------------------------------------------------- |
|
52 // CFotaSrvDocument::NewL |
|
53 // Two-phased constructor. |
|
54 // --------------------------------------------------------------------------- |
|
55 // |
|
56 CFotaSrvDocument* CFotaSrvDocument::NewL( CAknApplication& aApp ) |
|
57 { |
|
58 FLOG( _L( "[FotaServer] CFotaSrvDocument::NewL:" ) ); |
|
59 |
|
60 CFotaSrvDocument* self = new (ELeave) CFotaSrvDocument( aApp ); |
|
61 CleanupStack::PushL( self ); |
|
62 self->ConstructL(); |
|
63 CleanupStack::Pop(); //self |
|
64 return self; |
|
65 } |
|
66 |
|
67 |
|
68 // --------------------------------------------------------------------------- |
|
69 // CFotaSrvDocument::CreateAppUiL |
|
70 // --------------------------------------------------------------------------- |
|
71 // |
|
72 CEikAppUi* CFotaSrvDocument::CreateAppUiL() |
|
73 { |
|
74 FLOG( _L( "[FotaServer] CFotaSrvDocument::CreateAppUiL:" ) ); |
|
75 return new (ELeave) CFotaSrvUi; |
|
76 } |
|
77 |
|
78 |
|
79 // End of File |
|