sapi_landmarks/landmarksservice/inc/clandmarkhandler.inl
changeset 0 14df0fbfcc4e
equal deleted inserted replaced
-1:000000000000 0:14df0fbfcc4e
       
     1 /*
       
     2 * Copyright (c) 2005-2006 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 the License "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:  CLandmarkManageHandlers class
       
    15  *
       
    16 */
       
    17 
       
    18 // -----------------------------------------------------------------------------
       
    19 // CLandmarkHandler::LandmarkDatabaseHandle()
       
    20 // Returns the handle to CPosLandmarkDatabase instance.
       
    21 // -----------------------------------------------------------------------------
       
    22 //
       
    23 inline CPosLandmarkDatabase* CLandmarkHandler::LandmarkDatabaseHandle( )
       
    24 	{
       
    25 	return iLandmarkDatabaseHandle;
       
    26 	}
       
    27 
       
    28 // -----------------------------------------------------------------------------
       
    29 // CLandmarkHandler::CategoryManagerHandle()
       
    30 // Returns the handle to CPosLmCategoryManager instance.
       
    31 // -----------------------------------------------------------------------------
       
    32 //
       
    33 inline CPosLmCategoryManager* CLandmarkHandler::CategoryManagerHandle( )
       
    34 	{
       
    35 	return iLmCategoryManagerHandle;
       
    36 	}
       
    37 
       
    38 // -----------------------------------------------------------------------------
       
    39 // CLandmarkHandler::LandmarkSearchHandle()
       
    40 // Returns the handle to CPosLandmarkSearch instance.
       
    41 // -----------------------------------------------------------------------------
       
    42 //
       
    43 inline CPosLandmarkSearch* CLandmarkHandler::LandmarkSearchHandle( )
       
    44 	{
       
    45 	return iLandmarkSearchHandle;
       
    46 	}
       
    47 
       
    48 // -----------------------------------------------------------------------------
       
    49 // CLandmarkHandler::GetDatabaseUri( TPtrC& aDatabaseUri )
       
    50 // Sets the URI of the landmark database.
       
    51 // -----------------------------------------------------------------------------
       
    52 //
       
    53 inline void CLandmarkHandler::GetDatabaseUri( TPtrC& aDatabaseUri ) const
       
    54 	{
       
    55 	aDatabaseUri.Set (iDatabaseUri->Des ( ) );
       
    56 	}