|
1 /* |
|
2 * Copyright (c) 2002-2004 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: Implementation for wrapper for a box |
|
15 * |
|
16 */ |
|
17 |
|
18 // System includes |
|
19 #include <e32base.h> |
|
20 #include <coecntrl.h> |
|
21 |
|
22 // User includes |
|
23 #include "viewcontrol.h" |
|
24 |
|
25 // ============================ MEMBER FUNCTIONS =============================== |
|
26 |
|
27 // ----------------------------------------------------------------------------- |
|
28 // CViewControl::NewL |
|
29 // Symbian static 1st phase constructor |
|
30 // ----------------------------------------------------------------------------- |
|
31 // |
|
32 CViewControl* CViewControl::NewL(CXnNodePluginIf& aNode) |
|
33 { |
|
34 CViewControl* self = new( ELeave ) CViewControl; |
|
35 |
|
36 CleanupStack::PushL( self ); |
|
37 self->ConstructL( aNode ); |
|
38 CleanupStack::Pop(); |
|
39 |
|
40 return self; |
|
41 } |
|
42 |
|
43 // ----------------------------------------------------------------------------- |
|
44 // CViewControl::ConstructL |
|
45 // Symbian 2nd phase constructor can leave. |
|
46 // ----------------------------------------------------------------------------- |
|
47 // |
|
48 void CViewControl::ConstructL(CXnNodePluginIf& aNode) |
|
49 { |
|
50 CXnControlAdapter::ConstructL( aNode ); |
|
51 } |
|
52 |
|
53 // ----------------------------------------------------------------------------- |
|
54 // CViewControl::ViewControl |
|
55 // C++ default constructor |
|
56 // ----------------------------------------------------------------------------- |
|
57 // |
|
58 CViewControl::CViewControl() |
|
59 { |
|
60 } |
|
61 |
|
62 // ----------------------------------------------------------------------------- |
|
63 // CViewControl::~ViewControl |
|
64 // C++ destructor |
|
65 // ----------------------------------------------------------------------------- |
|
66 // |
|
67 CViewControl::~CViewControl() |
|
68 { |
|
69 } |
|
70 |
|
71 //end of file |