author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Tue, 24 Nov 2009 08:56:33 +0200 | |
changeset 33 | 50974a8b132e |
parent 19 | 989d2f495d90 |
permissions | -rw-r--r-- |
19 | 1 |
/* |
2 |
* Copyright (c) 2007-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 the License "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 |
||
33
50974a8b132e
Revision: 200945
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
19 |
#include "testappmnguiappui.h" |
50974a8b132e
Revision: 200945
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
20 |
#include "testappmnguidocument.h" |
19 | 21 |
|
22 |
// Standard Symbian OS construction sequence |
|
23 |
CtestappmnguiDocument* CtestappmnguiDocument::NewL(CEikApplication& aApp) |
|
24 |
{ |
|
25 |
CtestappmnguiDocument* self = NewLC(aApp); |
|
26 |
CleanupStack::Pop(self); |
|
27 |
return self; |
|
28 |
} |
|
29 |
||
30 |
CtestappmnguiDocument* CtestappmnguiDocument::NewLC(CEikApplication& aApp) |
|
31 |
{ |
|
32 |
CtestappmnguiDocument* self = new (ELeave) CtestappmnguiDocument(aApp); |
|
33 |
CleanupStack::PushL(self); |
|
34 |
self->ConstructL(); |
|
35 |
return self; |
|
36 |
} |
|
37 |
||
38 |
void CtestappmnguiDocument::ConstructL() |
|
39 |
{ |
|
40 |
// no implementation required |
|
41 |
} |
|
42 |
||
43 |
CtestappmnguiDocument::CtestappmnguiDocument(CEikApplication& aApp) : CAknDocument(aApp) |
|
44 |
{ |
|
45 |
// no implementation required |
|
46 |
} |
|
47 |
||
48 |
CtestappmnguiDocument::~CtestappmnguiDocument() |
|
49 |
{ |
|
50 |
// no implementation required |
|
51 |
} |
|
52 |
||
53 |
CEikAppUi* CtestappmnguiDocument::CreateAppUiL() |
|
54 |
{ |
|
55 |
// Create the application user interface, and return a pointer to it, |
|
56 |
// the framework takes ownership of this object |
|
57 |
CEikAppUi* appUi = new (ELeave) CtestappmnguiAppUi; |
|
58 |
return appUi; |
|
59 |
} |
|
60 |