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