2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Interface for quering the drive information of the system.
20 // -----------------------------------------------------------------------------
21 // DriveInfo::TDriveArray::TDriveArray
22 // -----------------------------------------------------------------------------
24 inline DriveInfo::TDriveArray::TDriveArray()
28 // -----------------------------------------------------------------------------
29 // DriveInfo::TDriveArray::TDriveArray
30 // -----------------------------------------------------------------------------
32 inline DriveInfo::TDriveArray::TDriveArray( const TDriveList& aDriveList )
37 // -----------------------------------------------------------------------------
38 // DriveInfo::TDriveArray::Reset
39 // -----------------------------------------------------------------------------
41 inline void DriveInfo::TDriveArray::Reset()
46 // -----------------------------------------------------------------------------
47 // DriveInfo::TDriveArray::Count
48 // -----------------------------------------------------------------------------
50 inline TInt DriveInfo::TDriveArray::Count() const
52 return iArray.Length();
55 // -----------------------------------------------------------------------------
56 // DriveInfo::TDriveArray::operator[]
57 // -----------------------------------------------------------------------------
59 inline TDriveNumber DriveInfo::TDriveArray::operator[]( TInt aIndex ) const
61 return static_cast< TDriveNumber >( iArray[ aIndex ] );