/*
* Copyright (c) 2004-2006 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:  Implements the CLandmarksContainerBase class
*
*/


// INCLUDES
#include "LandmarksListBoxModel.h"

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

// -----------------------------------------------------------------------------
// CLandmarksListBoxModel::MatchableTextArray
// 
// (other items were commented in a header).
// -----------------------------------------------------------------------------
//
const MDesCArray* CLandmarksListBoxModel::MatchableTextArray() const
    {
    return iItemTextArray;
    }

// -----------------------------------------------------------------------------
// CLandmarksListBoxModel::NumberOfItems
// 
// (other items were commented in a header).
// -----------------------------------------------------------------------------
//
TInt CLandmarksListBoxModel::NumberOfItems() const
    {
    return iItemTextArray->MdcaCount();
    }

// -----------------------------------------------------------------------------
// CLandmarksListBoxModel::ItemText
// 
// (other items were commented in a header).
// -----------------------------------------------------------------------------
//
TPtrC CLandmarksListBoxModel::ItemText(TInt aItemIndex) const
    {
    return iItemTextArray->MdcaPoint(aItemIndex);
    }

// End of File

