|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : LandmarksListBoxModel.cpp 00004 * Part of : Landmark Reference Application 00005 * Interface : - 00006 * Description : Implements the CLandmarksContainerBase class 00007 * Version : 1.0 00008 * 00009 * Copyright (c) 2004-2006 Nokia Corporation. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia Corporation. 00013 * ============================================================================== 00014 */ 00015 00016 // INCLUDES 00017 #include "LandmarksListBoxModel.h" 00018 00019 // ============================ MEMBER FUNCTIONS =============================== 00020 00021 // ----------------------------------------------------------------------------- 00022 // CLandmarksListBoxModel::MatchableTextArray 00023 // 00024 // (other items were commented in a header). 00025 // ----------------------------------------------------------------------------- 00026 // 00027 const MDesCArray* CLandmarksListBoxModel::MatchableTextArray() const 00028 { 00029 return iItemTextArray; 00030 } 00031 00032 // ----------------------------------------------------------------------------- 00033 // CLandmarksListBoxModel::NumberOfItems 00034 // 00035 // (other items were commented in a header). 00036 // ----------------------------------------------------------------------------- 00037 // 00038 TInt CLandmarksListBoxModel::NumberOfItems() const 00039 { 00040 return iItemTextArray->MdcaCount(); 00041 } 00042 00043 // ----------------------------------------------------------------------------- 00044 // CLandmarksListBoxModel::ItemText 00045 // 00046 // (other items were commented in a header). 00047 // ----------------------------------------------------------------------------- 00048 // 00049 TPtrC CLandmarksListBoxModel::ItemText(TInt aItemIndex) const 00050 { 00051 return iItemTextArray->MdcaPoint(aItemIndex); 00052 } 00053 00054 // End of File 00055
|
© Nokia 2006 |