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: CMSDocument class implementation |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #include "msdebug.h" |
|
21 #include "msdocument.h" |
|
22 #include "msappui.h" |
|
23 |
|
24 // -------------------------------------------------------------------------- |
|
25 // CMSDocument::CMSDocument( CEikApplication& aApp ) |
|
26 // -------------------------------------------------------------------------- |
|
27 // |
|
28 CMSDocument::CMSDocument( CEikApplication& aApp ) |
|
29 : CAknDocument( aApp ) |
|
30 { LOG(_L("[MediaServant]\t CMSDocument::CMSDocument")); |
|
31 } |
|
32 |
|
33 // -------------------------------------------------------------------------- |
|
34 // void CMSDocument::ConstructL() |
|
35 // -------------------------------------------------------------------------- |
|
36 // |
|
37 void CMSDocument::ConstructL() |
|
38 { |
|
39 LOG(_L("[MediaServant]\t CMSDocument::ConstructL")); |
|
40 } |
|
41 |
|
42 // -------------------------------------------------------------------------- |
|
43 // CMSDocument* CMSDocument::NewL( CEikApplication& aApp ) |
|
44 // -------------------------------------------------------------------------- |
|
45 // |
|
46 CMSDocument* CMSDocument::NewL(CEikApplication& aApp ) |
|
47 { |
|
48 LOG(_L("[MediaServant]\t CMSDocument::NewL")); |
|
49 |
|
50 CMSDocument* self = CMSDocument::NewLC( aApp ); |
|
51 CleanupStack::Pop( self ); |
|
52 |
|
53 return self; |
|
54 } |
|
55 |
|
56 // -------------------------------------------------------------------------- |
|
57 // CMSDocument* CMSDocument::NewLC( CEikApplication& aApp ) |
|
58 // -------------------------------------------------------------------------- |
|
59 // |
|
60 CMSDocument* CMSDocument::NewLC(CEikApplication& aApp ) |
|
61 { |
|
62 LOG(_L("[MediaServant]\t CMSDocument::NewL")); |
|
63 |
|
64 CMSDocument* self = new ( ELeave ) CMSDocument( aApp ); |
|
65 CleanupStack::PushL( self ); |
|
66 self->ConstructL(); |
|
67 |
|
68 return self; |
|
69 } |
|
70 |
|
71 // -------------------------------------------------------------------------- |
|
72 // CMSDocument::CreateAppUiL() |
|
73 // -------------------------------------------------------------------------- |
|
74 // |
|
75 CEikAppUi* CMSDocument::CreateAppUiL() |
|
76 { |
|
77 LOG(_L("[MediaServant]\t CMSDocument::CreateAppUiL")); |
|
78 |
|
79 return new ( ELeave ) CMSAppUi; |
|
80 } |
|
81 |
|
82 // -------------------------------------------------------------------------- |
|
83 // CMSDocument::~CMSDocument() |
|
84 // -------------------------------------------------------------------------- |
|
85 // |
|
86 CMSDocument::~CMSDocument() |
|
87 { |
|
88 LOG(_L("[MediaServant]\t CMSDocument::~CMSDocument")); |
|
89 } |
|
90 |
|
91 // End of File |
|