|
1 /* |
|
2 * Copyright (c) 2008 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: View node implementaton |
|
15 * |
|
16 */ |
|
17 |
|
18 // User includes |
|
19 #include "xnviewnodeimpl.h" |
|
20 |
|
21 // ============================ MEMBER FUNCTIONS =============================== |
|
22 |
|
23 // ----------------------------------------------------------------------------- |
|
24 // CXnViewNodeImpl::NewL() |
|
25 // Two-phased constructor. |
|
26 // ----------------------------------------------------------------------------- |
|
27 // |
|
28 CXnViewNodeImpl* CXnViewNodeImpl::NewL( CXnType* aType ) |
|
29 { |
|
30 CXnViewNodeImpl* self = new( ELeave ) CXnViewNodeImpl; |
|
31 CleanupStack::PushL( self ); |
|
32 self->ConstructL( aType ); |
|
33 CleanupStack::Pop(); |
|
34 |
|
35 return self; |
|
36 } |
|
37 |
|
38 // ----------------------------------------------------------------------------- |
|
39 // CXnViewNodeImpl::ConstructL() |
|
40 // Symbian 2nd phase constructor can leave. |
|
41 // ----------------------------------------------------------------------------- |
|
42 // |
|
43 void CXnViewNodeImpl::ConstructL( CXnType* aType ) |
|
44 { |
|
45 CXnNodeImpl::ConstructL( aType ); |
|
46 } |
|
47 |
|
48 // ----------------------------------------------------------------------------- |
|
49 // CXnViewNodeImpl::CXnViewNodeImpl() |
|
50 // C++ default constructor can NOT contain any code, that |
|
51 // might leave. |
|
52 // ----------------------------------------------------------------------------- |
|
53 // |
|
54 CXnViewNodeImpl::CXnViewNodeImpl() |
|
55 { |
|
56 } |
|
57 |
|
58 // ----------------------------------------------------------------------------- |
|
59 // CXnViewNodeImpl::~CXnViewNodeImpl() |
|
60 // C++ default destructor. |
|
61 // ----------------------------------------------------------------------------- |
|
62 // |
|
63 CXnViewNodeImpl::~CXnViewNodeImpl() |
|
64 { |
|
65 } |
|
66 |
|
67 // End of file |