28 #define __F32FSYS_H__ |
28 #define __F32FSYS_H__ |
29 #if !defined(__F32FILE_H__) |
29 #if !defined(__F32FILE_H__) |
30 #include <f32file.h> |
30 #include <f32file.h> |
31 #endif |
31 #endif |
32 #include <e32atomics.h> |
32 #include <e32atomics.h> |
|
33 #include <d32locd.h> |
|
34 |
33 // |
35 // |
34 #if defined(_UNICODE) |
36 #if defined(_UNICODE) |
35 #define KFileSystemUidValue KFileSystemUidValue16 |
37 #define KFileSystemUidValue KFileSystemUidValue16 |
36 #define KFileServerUidValue KFileServerUidValue16 |
38 #define KFileServerUidValue KFileServerUidValue16 |
37 #define KFileServerDllUidValue KFileServerDllUidValue16 |
39 #define KFileServerDllUidValue KFileServerDllUidValue16 |
2411 Retrieves drive information. |
2414 Retrieves drive information. |
2412 |
2415 |
2413 The function should set anInfo.iMediaAtt and anInfo.iType according to |
2416 The function should set anInfo.iMediaAtt and anInfo.iType according to |
2414 the specified drive number. |
2417 the specified drive number. |
2415 |
2418 |
2416 Note that anInfo.iDriveAtt and anInfo.iBatteryState will already have been |
2419 Note that anInfo.iDriveAtt will already have been set by the calling |
2417 set by the calling function. |
2420 function. |
2418 |
2421 |
2419 The function can obtain the necessary information by calling |
2422 The function can obtain the necessary information by calling |
2420 the appropriate TBusLocalDrive::Caps() function using the argument aDriveNumber. |
2423 the appropriate TBusLocalDrive::Caps() function using the argument aDriveNumber. |
2421 |
2424 |
2422 @param anInfo On return, contains the drive information. |
2425 @param anInfo On return, contains the drive information. |
2423 @param aDriveNumber The drive number. |
2426 @param aDriveNumber The drive number. |
2424 */ |
2427 */ |
2425 virtual void DriveInfo(TDriveInfo& anInfo,TInt aDriveNumber) const =0; |
2428 IMPORT_C virtual void DriveInfo(TDriveInfo& anInfo,TInt aDriveNumber) const; |
2426 |
2429 |
2427 virtual TInt DefaultPath(TDes& aPath) const; |
2430 virtual TInt DefaultPath(TDes& aPath) const; |
2428 |
2431 |
2429 /** Enumeration of the aInterfaceIDs used in GetInterface.*/ |
2432 /** Enumeration of the aInterfaceIDs used in GetInterface.*/ |
2430 enum TInterfaceIds |
2433 enum TInterfaceIds |