diff -r a3a1ae9acec6 -r da5135c61bad meetingrequest/mrgui/inc/mesmrlocationplugin.h --- a/meetingrequest/mrgui/inc/mesmrlocationplugin.h Mon Mar 15 12:39:10 2010 +0200 +++ b/meetingrequest/mrgui/inc/mesmrlocationplugin.h Wed Mar 31 21:08:33 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2008-2008 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -22,17 +22,19 @@ #include +class CCalGeoValue; + /** * MESMRLocationPlugin defines the interface for accessing location service provider * from ESMR GUI. */ class MESMRLocationPlugin - { + { public: - /** + /** * Shows map on the screen and asks user to select a position. * The function returns immediately and the selection is provided * to the caller via MESMRLocationPluginObserver interface. @@ -40,28 +42,48 @@ * @param aSearchQuery Text to show as default address * @param aLocationUrl URL containing coordinates for maps focus */ - virtual void SelectFromMapL( const TDesC& aSearchQuery, const TDesC& aLocationUrl ) = 0; - + virtual void SelectFromMapL( + const TDesC& aSearchQuery, + const TDesC& aLocationUrl ) = 0; + + /** + * Shows map on the screen and asks user to select a position. + * The function returns immediately and the selection is provided + * to the caller via MESMRLocationPluginObserver interface. + * + * @param aSearchQuery Text to show as default address + * @param aGeoValue coordinates for maps focus + */ + virtual void SelectFromMapL( + const TDesC& aSearchQuery, + const CCalGeoValue* aGeoValue ) = 0; + /** * Shows map on the screen. User may edit the search string and search * the position from the map, but the selection is not provided to the * caller - * + * * @param aSearchQuery Text to show as default address */ virtual void SearchFromMapL( const TDesC& aSearchQuery ) = 0; - + /** * Shows map on the screen focused on the given location. * - * @param aLocation containing name for landmark * @param aLocationUrl URL containing coordinates for maps focus */ - virtual void ShowOnMapL( const TDesC& aLocation, const TDesC& aLocationUrl ) = 0; + virtual void ShowOnMapL( const TDesC& aLocationUrl ) = 0; + + /** + * Shows map on the screen focused on the given location. + * + * @param aGeoValue the coordinates for maps focus + */ + virtual void ShowOnMapL( const CCalGeoValue& aGeoValue ) = 0; protected: - virtual ~MESMRLocationPlugin() {} + virtual ~MESMRLocationPlugin() {} };