1 /* |
1 /* |
2 * Copyright (c) 2008-2008 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2009 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". |
84 * Updates entry location field. |
84 * Updates entry location field. |
85 * @param aEntry entry to update the location field |
85 * @param aEntry entry to update the location field |
86 * @param aLocation location text to update into entry |
86 * @param aLocation location text to update into entry |
87 * @param aIgnoreQuery if ETrue, "Replace previous location" query is |
87 * @param aIgnoreQuery if ETrue, "Replace previous location" query is |
88 * not displayed. |
88 * not displayed. |
|
89 * @param aLocationReplaced on return, ETrue if previous location was replaced |
89 * @return ETrue if aEntry location field was modified. |
90 * @return ETrue if aEntry location field was modified. |
90 */ |
91 */ |
91 static TBool UpdateEntryLocationL( MESMRCalEntry& aEntry, |
92 static TBool UpdateEntryLocationL( MESMRCalEntry& aEntry, |
92 const TDesC& aLocation, |
93 const TDesC& aLocation, |
93 TBool aIgnoreQuery ); |
94 TBool aIgnoreQuery, |
|
95 TBool& aLocationReplaced ); |
94 |
96 |
95 protected: // From MESMRLocationPluginObserver |
97 protected: // From MESMRLocationPluginObserver |
96 void SelectFromMapCompleted( TInt aError, |
98 void SelectFromMapCompleted( TInt aError, |
97 CPosLandmark* aLandmark ); |
99 CPosLandmark* aLandmark ); |
98 |
100 |