meetingrequest/mrgui/inc/mesmrlocationpluginobserver.h
changeset 0 8466d47a6819
child 16 4ce476e64c59
equal deleted inserted replaced
-1:000000000000 0:8466d47a6819
       
     1 /*
       
     2 * Copyright (c) 2008-2008 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:  Interface definition for Location integration plug-in observer
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MESMRLOCATIONPLUGINOBSERVER_H
       
    20 #define MESMRLOCATIONPLUGINOBSERVER_H
       
    21 
       
    22 #include <e32std.h>
       
    23 
       
    24 class CPosLandmark;
       
    25 
       
    26 /**
       
    27  *  MESMRLocationPluginObserver defines the interface for location plugin observer
       
    28  *  from ESMR GUI.
       
    29  *
       
    30  */
       
    31 class MESMRLocationPluginObserver
       
    32     {
       
    33 public:
       
    34 
       
    35     /**
       
    36      * Notifies the observer that user has selected a location from map.
       
    37      *
       
    38      * @param aError Result of the selection. If KErrNone aAddress and 
       
    39      * 				 aLocationUrl contain valid selection information.
       
    40      * @param aLandmark landmark object with information on the location.
       
    41      *               Ownership of aLandmark is transferred to observer.
       
    42      */
       
    43     virtual void SelectFromMapCompleted( TInt aError,
       
    44                                          CPosLandmark* aLandmark ) = 0;
       
    45 
       
    46 protected:
       
    47 
       
    48 	virtual ~MESMRLocationPluginObserver() {}
       
    49     };
       
    50 
       
    51 
       
    52 #endif // MESMRLOCATIONPLUGINOBSERVER_H