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: Document class of MUS App. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #include "musuidocument.h" // Header for this class |
|
21 #include "musuiappui.h" // Application UI class |
|
22 |
|
23 #include <AknGlobalNote.h> |
|
24 #include <musui.rsg> |
|
25 |
|
26 |
|
27 // ----------------------------------------------------------------------------- |
|
28 // CMusUiDocument::CMusUiDocument |
|
29 // C++ default constructor. |
|
30 // ----------------------------------------------------------------------------- |
|
31 CMusUiDocument::CMusUiDocument( CEikApplication& aApp ) : CAknDocument( aApp ) |
|
32 { |
|
33 } |
|
34 |
|
35 |
|
36 // ----------------------------------------------------------------------------- |
|
37 // CMusUiDocument::NewL |
|
38 // Two-phased constructor. |
|
39 // ----------------------------------------------------------------------------- |
|
40 CMusUiDocument* CMusUiDocument::NewL( CEikApplication& aApp ) |
|
41 { |
|
42 CMusUiDocument* self = new( ELeave ) CMusUiDocument( aApp ); |
|
43 CleanupStack::PushL( self ); |
|
44 self->ConstructL(); |
|
45 CleanupStack::Pop( self ); |
|
46 return self; |
|
47 } |
|
48 |
|
49 |
|
50 // ----------------------------------------------------------------------------- |
|
51 // CMusUiDocument::ConstructL |
|
52 // Symbian 2nd phase constructor. |
|
53 // ----------------------------------------------------------------------------- |
|
54 void CMusUiDocument::ConstructL() |
|
55 { |
|
56 } |
|
57 |
|
58 |
|
59 // ----------------------------------------------------------------------------- |
|
60 // CMusUiDocument::~CMusUiDocument |
|
61 // Destructor. |
|
62 // ----------------------------------------------------------------------------- |
|
63 CMusUiDocument::~CMusUiDocument() |
|
64 { |
|
65 } |
|
66 |
|
67 |
|
68 // ----------------------------------------------------------------------------- |
|
69 // CMusUiDocument::CreateAppUiL() |
|
70 // Constructs CMusUiAppUi. |
|
71 // ----------------------------------------------------------------------------- |
|
72 CEikAppUi* CMusUiDocument::CreateAppUiL() |
|
73 { |
|
74 return new ( ELeave ) CMusUiAppUi( ); |
|
75 } |
|
76 |
|
77 |
|
78 // end of file |
|