userlibandfileserver/fileserver/inc/f32fsys.h
changeset 6 0173bcd7697c
parent 0 a41df078684a
child 41 0ffb4e86fcc9
equal deleted inserted replaced
4:56f325a607ea 6:0173bcd7697c
    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
   557 	};
   559 	};
   558 
   560 
   559 class CFileCB;
   561 class CFileCB;
   560 class CDirCB;
   562 class CDirCB;
   561 
   563 
       
   564 __ASSERT_COMPILE(sizeof(TVolFormatParam) != sizeof(TLDFormatInfo));
   562 
   565 
   563 
   566 
   564 
   567 
   565 /**
   568 /**
   566 @publishedPartner
   569 @publishedPartner
  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
  3053 
  3056 
  3054 @return specified drive number is mapped to a local drive.
  3057 @return specified drive number is mapped to a local drive.
  3055 */
  3058 */
  3056 IMPORT_C TBool IsValidLocalDriveMapping(TInt aDrive);
  3059 IMPORT_C TBool IsValidLocalDriveMapping(TInt aDrive);
  3057 
  3060 
  3058 
  3061 /** 
  3059 
  3062 @internalTechnology 
       
  3063  
       
  3064 Sets the media attributes and type in the anInfo parameter to those of the 
       
  3065 specified drive. 
       
  3066 
       
  3067 @param anInfo TDriveInfo object to store the drive information.
       
  3068 @param aDriveNumber The number of the drive to get the information from.
       
  3069 */
       
  3070 IMPORT_C void GetDriveInfo(TDriveInfo& anInfo,TInt aDriveNumber);
  3060 
  3071 
  3061 /**
  3072 /**
  3062 @publishedPartner
  3073 @publishedPartner
  3063 @released
  3074 @released
  3064 
  3075