1 /* |
|
2 * Copyright (c) 2007 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 * |
|
16 */ |
|
17 |
|
18 #include "IndicatorTestAppAppUi.h" |
|
19 #include "IndicatorTestAppDocument.h" |
|
20 |
|
21 // Standard Symbian OS construction sequence |
|
22 CIndicatorTestAppDocument* CIndicatorTestAppDocument::NewL(CEikApplication& aApp) |
|
23 { |
|
24 CIndicatorTestAppDocument* self = NewLC(aApp); |
|
25 CleanupStack::Pop(self); |
|
26 return self; |
|
27 } |
|
28 |
|
29 CIndicatorTestAppDocument* CIndicatorTestAppDocument::NewLC(CEikApplication& aApp) |
|
30 { |
|
31 CIndicatorTestAppDocument* self = new (ELeave) CIndicatorTestAppDocument(aApp); |
|
32 CleanupStack::PushL(self); |
|
33 self->ConstructL(); |
|
34 return self; |
|
35 } |
|
36 |
|
37 void CIndicatorTestAppDocument::ConstructL() |
|
38 { |
|
39 // no implementation required |
|
40 } |
|
41 |
|
42 CIndicatorTestAppDocument::CIndicatorTestAppDocument(CEikApplication& aApp) : CAknDocument(aApp) |
|
43 { |
|
44 // no implementation required |
|
45 } |
|
46 |
|
47 CIndicatorTestAppDocument::~CIndicatorTestAppDocument() |
|
48 { |
|
49 // no implementation required |
|
50 } |
|
51 |
|
52 CEikAppUi* CIndicatorTestAppDocument::CreateAppUiL() |
|
53 { |
|
54 // Create the application user interface, and return a pointer to it, |
|
55 // the framework takes ownership of this object |
|
56 CEikAppUi* appUi = new (ELeave) CIndicatorTestAppAppUi; |
|
57 return appUi; |
|
58 } |
|
59 |
|