equal
deleted
inserted
replaced
|
1 // GuiConsDocument.cpp |
|
2 // |
|
3 // Copyright (c) 2009 - 2010 Accenture. All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of the "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 // Accenture - Initial contribution |
|
11 // |
|
12 |
|
13 #include "GuiConsAppUi.h" |
|
14 #include "GuiConsDocument.h" |
|
15 |
|
16 CGuiConsDocument* CGuiConsDocument::NewL(CEikApplication& aApp) |
|
17 { |
|
18 CGuiConsDocument* self = NewLC(aApp); |
|
19 CleanupStack::Pop(self); |
|
20 return self; |
|
21 } |
|
22 |
|
23 CGuiConsDocument* CGuiConsDocument::NewLC(CEikApplication& aApp) |
|
24 { |
|
25 CGuiConsDocument* self = new(ELeave)CGuiConsDocument(aApp); |
|
26 CleanupStack::PushL(self); |
|
27 self->ConstructL(); |
|
28 return self; |
|
29 } |
|
30 |
|
31 void CGuiConsDocument::ConstructL() |
|
32 { |
|
33 } |
|
34 |
|
35 CGuiConsDocument::CGuiConsDocument(CEikApplication& aApp) |
|
36 : CAknDocument(aApp) |
|
37 { |
|
38 } |
|
39 |
|
40 CGuiConsDocument::~CGuiConsDocument() |
|
41 { |
|
42 } |
|
43 |
|
44 CEikAppUi* CGuiConsDocument::CreateAppUiL() |
|
45 { |
|
46 return static_cast<CEikAppUi*>(new(ELeave)CGuiConsAppUi); |
|
47 } |