equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
13 * |
13 * |
14 * Description: Implementation of CCmSettingsUi. |
14 * Description: Implementation of CCmSettingsUi. |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 //This include contains full path because there is |
18 #include <cmsettingsui.h> |
19 //an other version of the same file available in the public |
|
20 //SDK and we want to make sure that the internal header is used. |
|
21 #include <platform/mw/cmsettingsui.h> |
|
22 #include "cmsettingsuiimpl.h" |
19 #include "cmsettingsuiimpl.h" |
23 #include <cmcommonconstants.h> |
20 #include <cmcommonconstants.h> |
24 |
21 |
25 //----------------------------------------------------------------------------- |
22 //----------------------------------------------------------------------------- |
26 // CCmSettingsUi::NewL() |
23 // CCmSettingsUi::NewL() |
83 // |
80 // |
84 EXPORT_C TBool CCmSettingsUi::SelectDestinationDlgL( TUint32& aDestinationId ) |
81 EXPORT_C TBool CCmSettingsUi::SelectDestinationDlgL( TUint32& aDestinationId ) |
85 { |
82 { |
86 return iImpl->SelectDestinationDlgL( aDestinationId ); |
83 return iImpl->SelectDestinationDlgL( aDestinationId ); |
87 } |
84 } |
88 |
|
89 //----------------------------------------------------------------------------- |
|
90 // CCmSettingsUi::AddCmL() |
|
91 //----------------------------------------------------------------------------- |
|
92 // |
|
93 |
|
94 EXPORT_C TUint32 CCmSettingsUi::AddCmL( TUint32& aDestUid, TUint32 aBearerType ) |
|
95 { |
|
96 return iImpl->AddCmL( aDestUid, aBearerType ); |
|
97 } |
|
98 |
|
99 //----------------------------------------------------------------------------- |
|
100 // CCmSettingsUi::EditCmL() |
|
101 //----------------------------------------------------------------------------- |
|
102 // |
|
103 |
|
104 EXPORT_C CCmSettingsUi::TResult CCmSettingsUi::EditCmL( TUint32 aCmId ) |
|
105 { |
|
106 if ( iImpl->EditCmL( aCmId ) == KDialogUserExit ) |
|
107 { |
|
108 return EExit; |
|
109 } |
|
110 else |
|
111 { |
|
112 return EBack; |
|
113 } |
|
114 } |
|