userlibandfileserver/fileserver/shostmassstorage/server/controller/tlogicalunitlist.cpp
changeset 127 e408fc570bb5
parent 124 5802e2ce68ed
child 297 b2826f67641f
equal deleted inserted replaced
126:2b2a51c87b12 127:e408fc570bb5
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Eclipse Public License v1.0"
     4 // under the terms of the License "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
   122     __MSFNSLOG
   122     __MSFNSLOG
   123     TInt index = FindLu(aLun);
   123     TInt index = FindLu(aLun);
   124     User::LeaveIfError(index);
   124     User::LeaveIfError(index);
   125     return *iLu[index];
   125     return *iLu[index];
   126     }
   126     }
       
   127 
       
   128 
       
   129 CUsbHostMsLogicalUnit& TLogicalUnitList::GetLu(TInt aIndex) const
       
   130     {
       
   131     __MSFNSLOG
       
   132     return *iLu[aIndex];
       
   133     }