|
1 /* |
|
2 * Copyright (c) 2002 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: USSD application document functionality. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 #include "UssdDocument.h" |
|
21 #include "UssdAppUi.h" |
|
22 |
|
23 // ============================ MEMBER FUNCTIONS =============================== |
|
24 |
|
25 |
|
26 // ----------------------------------------------------------------------------- |
|
27 // CUssdDocument::CUssdDocument |
|
28 // C++ constructor can NOT contain any code, that |
|
29 // might leave. |
|
30 // ----------------------------------------------------------------------------- |
|
31 // |
|
32 CUssdDocument::CUssdDocument( CEikApplication& aApp ) |
|
33 : CAknDocument( aApp ) |
|
34 { |
|
35 } |
|
36 |
|
37 |
|
38 // ----------------------------------------------------------------------------- |
|
39 // CUssdDocument::NewL |
|
40 // Two-phased constructor. |
|
41 // ----------------------------------------------------------------------------- |
|
42 // |
|
43 CUssdDocument* CUssdDocument::NewL( |
|
44 CEikApplication& aApp ) // CUssdApp reference |
|
45 { |
|
46 CUssdDocument* self = new ( ELeave ) CUssdDocument(aApp); |
|
47 return self; |
|
48 } |
|
49 |
|
50 |
|
51 // Destructor |
|
52 CUssdDocument::~CUssdDocument() |
|
53 { |
|
54 } |
|
55 |
|
56 |
|
57 // ----------------------------------------------------------------------------- |
|
58 // CUssdDocument::CreateAppUiL() |
|
59 // constructs CUssdAppUi |
|
60 // |
|
61 // ----------------------------------------------------------------------------- |
|
62 CEikAppUi* CUssdDocument::CreateAppUiL() |
|
63 { |
|
64 return new(ELeave) CUssdAppUi; |
|
65 } |
|
66 |
|
67 |
|
68 // End of File |