userlibandfileserver/fileserver/shostmassstorage/server/controller/include/tlogicalunitlist.h
changeset 139 95f71bcdcdb7
parent 0 a41df078684a
equal deleted inserted replaced
109:b3a1d9898418 139:95f71bcdcdb7
     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".
    27     ~TLogicalUnitList();
    27     ~TLogicalUnitList();
    28     void AddLuL(CUsbHostMsLogicalUnit* aLu);
    28     void AddLuL(CUsbHostMsLogicalUnit* aLu);
    29     void RemoveLuL(TLun aLun);
    29     void RemoveLuL(TLun aLun);
    30     void RemoveAllLuL();
    30     void RemoveAllLuL();
    31     CUsbHostMsLogicalUnit& GetLuL(TLun aLun) const;
    31     CUsbHostMsLogicalUnit& GetLuL(TLun aLun) const;
    32     TInt FindLu(TLun aLun) const;
    32     CUsbHostMsLogicalUnit& GetLu(TInt aIndex) const;
    33 	TInt Count() const;
    33 	TInt Count() const;
    34 private:
    34 private:
       
    35     TInt FindLu(TLun aLun) const;
    35     RPointerArray<CUsbHostMsLogicalUnit> iLu;
    36     RPointerArray<CUsbHostMsLogicalUnit> iLu;
    36     };
    37     };
    37 
    38 
    38 #endif // LOGICALUNITLIST_H
    39 #endif // LOGICALUNITLIST_H
    39 
    40