userlibandfileserver/fileserver/shostmassstorage/server/controller/tlogicalunitlist.cpp
equal
deleted
inserted
replaced
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 } |