meetingrequest/mrgui/inc/cesmrlocationpluginhandler.h
branchRCL_3
changeset 12 4ce476e64c59
parent 0 8466d47a6819
equal deleted inserted replaced
11:0396474f30f5 12:4ce476e64c59
     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 	
   122 	/**
   124 	/**
   123      * Entry update flag
   125      * Entry update flag
   124      * 
   126      * 
   125      */
   127      */
   126     TBool iEntryUpdated;
   128     TBool iEntryUpdated;
       
   129     
       
   130     /**
       
   131      * Location replace flag
       
   132      */
       
   133     TBool iLocationReplaced;
   127     
   134     
   128 	/**
   135 	/**
   129 	 *  Location plugin.
   136 	 *  Location plugin.
   130 	 *  Own.
   137 	 *  Own.
   131 	 */
   138 	 */