landmarks/locationlandmarks/clientlib/src/EPos_PosLmImplExtension.cpp
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:24:21 +0100
branchRCL_3
changeset 21 6b6920c56e2f
parent 0 667063e416a2
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

/*
* Copyright (c) 2005 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"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: Class containing static exported functions needed by the implementation
*  of components in the Landmarks subsystem.
*
*
*/


// INCLUDE FILES
#include    "EPos_PosLmImplExtension.h"
#include    "EPos_CPosLandmarkDatabase.h"
#include    "EPos_CPosLandmark.h"
#include    "EPos_CPosLandmarkCategory.h"


// CONSTANTS


// ================= MEMBER FUNCTIONS =======================

// ---------------------------------------------------------
// PosLmImplExtension::ImplementationId
//
// (other items were commented in a header).
// ---------------------------------------------------------
//
EXPORT_C TUid PosLmImplExtension::ImplementationId(
    const CPosLandmarkDatabase& aDatabase)
    {
    return aDatabase.ImplementationId();
    }

// ---------------------------------------------------------
// PosLmImplExtension::SetPartialL
//
// (other items were commented in a header).
// ---------------------------------------------------------
//
EXPORT_C void PosLmImplExtension::SetPartialL(
    CPosLandmark &aLandmark,
    TBool aPartial)
    {
    aLandmark.SetPartialL(aPartial);
    }

// ---------------------------------------------------------
// PosLmImplExtension::SetLandmarkIdL
//
// (other items were commented in a header).
// ---------------------------------------------------------
//
EXPORT_C void PosLmImplExtension::SetLandmarkIdL(
    CPosLandmark &aLandmark,
    TPosLmItemId aId)
    {
    aLandmark.SetLandmarkIdL(aId);
    }

// ---------------------------------------------------------
// PosLmImplExtension::SetCategoryIdL
//
// (other items were commented in a header).
// ---------------------------------------------------------
//
EXPORT_C void PosLmImplExtension::SetCategoryIdL(
    CPosLandmarkCategory &aCategory,
    TPosLmItemId aId)
    {
    aCategory.SetCategoryIdL(aId);
    }

// ---------------------------------------------------------
// PosLmImplExtension::SetGlobalCategory
//
// (other items were commented in a header).
// ---------------------------------------------------------
//
EXPORT_C void PosLmImplExtension::SetGlobalCategory(
    CPosLandmarkCategory& aCategory,
    TPosLmGlobalCategory aGlobalCategory)
    {
    aCategory.SetGlobalCategory(aGlobalCategory);
    }

//  End of File