userlibandfileserver/fileserver/sfat32/inc/sl_std.h
changeset 189 a5496987b1da
parent 148 31ea0f8e3c99
child 231 75252ea6123b
equal deleted inserted replaced
177:a232af6b0b1f 189:a5496987b1da
   748     void    DoUpdateFSInfoSectorsL(TBool aInvalidateFSInfo);
   748     void    DoUpdateFSInfoSectorsL(TBool aInvalidateFSInfo);
   749     void    UnFinaliseMountL();
   749     void    UnFinaliseMountL();
   750     void    DoReMountL();
   750     void    DoReMountL();
   751     void    SetFatType(TFatType aFatType);
   751     void    SetFatType(TFatType aFatType);
   752 
   752 
       
   753     TUint64 VolumeSizeInBytes() const;
   753 
   754 
   754 private:
   755 private:
   755 	
   756 	
   756 
   757 
   757 	CFatMountCB();
   758 	CFatMountCB();
   765 
   766 
   766     TBool iReadOnly         : 1;///< if true, the drive is in read-only mode 
   767     TBool iReadOnly         : 1;///< if true, the drive is in read-only mode 
   767     TBool iRamDrive         : 1;///< true if this is a RAM drive    
   768     TBool iRamDrive         : 1;///< true if this is a RAM drive    
   768     TBool iMainBootSecValid : 1;///< true if the main boot sector is valid, if false, a backup boot sector may be in use. 
   769     TBool iMainBootSecValid : 1;///< true if the main boot sector is valid, if false, a backup boot sector may be in use. 
   769 
   770 
   770     TFatMntState iState;        ///< this mounnt internal state
   771     TFatMntState iState;            ///< this mounnt internal state
   771 
   772 
   772     TFatType iFatType;          ///< FAT type, FAT12,16 or 32
   773     TFatType iFatType;              ///< FAT type, FAT12,16 or 32
   773     TUint32  iFatEocCode;       ///< End Of Cluster Chain code, 0xff8 for FAT12, 0xfff8 for FAT16, and 0xffffff8 for FAT32 
   774     TUint32  iFatEocCode;           ///< End Of Cluster Chain code, 0xff8 for FAT12, 0xfff8 for FAT16, and 0xffffff8 for FAT32 
   774 
   775 
   775     CLeafDirCache* iLeafDirCache;	///< A cache for most recently visited directories, only valid when limit is set bigger than 1
   776     CLeafDirCache* iLeafDirCache;	///< A cache for most recently visited directories, only valid when limit is set bigger than 1
   776 
   777 
   777 	TFatVolParam iVolParam;         ///< FAT volume parameters, populated form the boot sector values.
   778 	TFatVolParam iVolParam;         ///< FAT volume parameters, populated form the boot sector values.
   778     
   779     
   780 	TUint32 iUsableClusters;        ///< Number of usable cluster on the volume 
   781 	TUint32 iUsableClusters;        ///< Number of usable cluster on the volume 
   781 	
   782 	
   782     CFatTable* iFatTable;           ///< Pointer to the volume Fat 
   783     CFatTable* iFatTable;           ///< Pointer to the volume Fat 
   783 	CRawDisk*  iRawDisk;            ///< Pointer to the raw data interface class
   784 	CRawDisk*  iRawDisk;            ///< Pointer to the raw data interface class
   784 	
   785 	
   785     CAsyncNotifier* iNotifier;  ///< Async notifier for notifying user of Fat error conditions 
   786     CAsyncNotifier* iNotifier;      ///< Async notifier for notifying user of Fat error conditions 
   786 
   787 
   787     XDriveInterface iDriverInterface; ///< the object representing interface to the drive, provides read/write access and notifiers
   788     XDriveInterface iDriverInterface; ///< the object representing interface to the drive, provides read/write access and notifiers
   788 	TFatConfig      iFatConfig;       ///< FAT parametrers from estart.txt
   789 	TFatConfig      iFatConfig;       ///< FAT parametrers from estart.txt
   789 
   790 
   790 	XFileCreationHelper iFileCreationHelper;
   791 	XFileCreationHelper iFileCreationHelper;