1 /* |
|
2 * Copyright (c) 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 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 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 #include <ecom/ecom.h> |
|
24 #include "liwmenubinding.h" |
|
25 |
|
26 CLiwMenuBinding* CLiwMenuBinding::NewL() |
|
27 { |
|
28 CLiwMenuBinding* bind = new (ELeave) CLiwMenuBinding(); |
|
29 CleanupStack::PushL(bind); |
|
30 bind->ConstructL(); |
|
31 CleanupStack::Pop(bind); // bind |
|
32 return bind; |
|
33 } |
|
34 |
|
35 |
|
36 CLiwMenuBinding* CLiwMenuBinding::NewL(TInt aMenuItemIndex, TInt aParentId) |
|
37 { |
|
38 CLiwMenuBinding* bind = new (ELeave) CLiwMenuBinding(aMenuItemIndex, aParentId); |
|
39 CleanupStack::PushL(bind); |
|
40 bind->ConstructL(); |
|
41 CleanupStack::Pop(bind); // bind |
|
42 return bind; |
|
43 } |
|
44 |
|
45 |
|
46 CLiwMenuBinding* CLiwMenuBinding::NewLC() |
|
47 { |
|
48 CLiwMenuBinding* bind = new (ELeave) CLiwMenuBinding(); |
|
49 CleanupStack::PushL(bind); |
|
50 bind->ConstructL(); |
|
51 return bind; |
|
52 } |
|
53 |
|
54 |
|
55 CLiwMenuBinding* CLiwMenuBinding::NewLC(TInt aMenuItemIndex, TInt aMenuId) |
|
56 { |
|
57 CLiwMenuBinding* bind = new (ELeave) CLiwMenuBinding(aMenuItemIndex, aMenuId); |
|
58 CleanupStack::PushL(bind); |
|
59 bind->ConstructL(); |
|
60 return bind; |
|
61 } |
|
62 |
|
63 |
|
64 |
|
65 CLiwMenuBinding::CLiwMenuBinding() |
|
66 { |
|
67 } |
|
68 |
|
69 |
|
70 void CLiwMenuBinding::ConstructL() |
|
71 { |
|
72 } |
|
73 |
|
74 |
|
75 CLiwMenuBinding::CLiwMenuBinding(TInt aMenuItemIndex, TInt aMenuId) |
|
76 :iMenuItemIndex(aMenuItemIndex), iMenuId(aMenuId) |
|
77 { |
|
78 // Nothing to do here. |
|
79 } |
|
80 |
|
81 |
|
82 |
|
83 CLiwMenuBinding::~CLiwMenuBinding() |
|
84 { |
|
85 } |
|
86 |
|
87 |
|
88 // End of file |
|
89 |
|