equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2009-2010 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". |
132 User::LeaveIfError( result ); |
132 User::LeaveIfError( result ); |
133 |
133 |
134 // show note |
134 // show note |
135 if ( KErrNone == result ) |
135 if ( KErrNone == result ) |
136 { |
136 { |
137 if ( vmbxNumber.Length() ) |
137 iProvider.VmbxUiUtilities().ShowInformationdNoteL( EVideoNumberSaved ); |
138 { |
|
139 VMBLOGSTRING( "VMBX: CVmbxCsVideoEngine::\ |
|
140 Save Number Length" ); |
|
141 iProvider.VmbxUiUtilities().ShowVideoSavedNote(); |
|
142 } |
|
143 else |
|
144 { |
|
145 VMBLOGSTRING( "VMBX: CVmbxCsVideoEngine::\ |
|
146 Save Number Length zero" ); |
|
147 iProvider.VmbxUiUtilities().ShowSaveEmptyNoteL( |
|
148 aEntry.VoiceMailboxType() ); |
|
149 } |
|
150 } |
138 } |
151 |
139 |
152 VMBLOGSTRING( "VMBX: CVmbxCsVideoEngine::SaveL <=" ); |
140 VMBLOGSTRING( "VMBX: CVmbxCsVideoEngine::SaveL <=" ); |
153 } |
141 } |
154 |
142 |
163 VMBLOGSTRING( "VMBX: CVmbxCsVideoEngine::SaveProvisionedEntryL =>" ); |
151 VMBLOGSTRING( "VMBX: CVmbxCsVideoEngine::SaveProvisionedEntryL =>" ); |
164 SaveL( aEntry ); |
152 SaveL( aEntry ); |
165 VMBLOGSTRING( "VMBX: CVmbxCsVideoEngine::SaveProvisionedEntryL <=" ); |
153 VMBLOGSTRING( "VMBX: CVmbxCsVideoEngine::SaveProvisionedEntryL <=" ); |
166 } |
154 } |
167 |
155 |
|
156 // ---------------------------------------------------------------------------- |
|
157 // CVmbxCsVideoEngine::CheckConfiguration() |
|
158 // ---------------------------------------------------------------------------- |
|
159 // |
|
160 TBool CVmbxCsVideoEngine::CheckConfiguration( |
|
161 const TVoiceMailboxParams& aParams, const TInt aFlags ) |
|
162 { |
|
163 VMBLOGSTRING( "VMBX: CVmbxCsVideoEngine::CheckConfiguration =>" ); |
|
164 TBool conf( EFalse ); |
|
165 if ( EVmbxChangeNbrAllowedOnUi & aFlags ) |
|
166 { |
|
167 conf = iProvider.VmbxCenRepHandler().IsAllowedUserEdit(); |
|
168 } |
|
169 else if ( EVmbxVideoMailboxSupported & aFlags ) |
|
170 { |
|
171 conf = ETrue; |
|
172 } |
|
173 else |
|
174 { |
|
175 conf = CVmbxEngineBase::CheckConfiguration(aParams, aFlags); |
|
176 } |
|
177 VMBLOGSTRING2( "VMBX: CVmbxCsVideoEngine::CheckConfiguration: conf%I <=", |
|
178 conf ); |
|
179 return conf; |
|
180 } |
168 // End of file |
181 // End of file |