userlibandfileserver/fileserver/sfat32/inc/fat_table32.h
changeset 33 0173bcd7697c
parent 0 a41df078684a
child 36 538db54a451d
equal deleted inserted replaced
31:56f325a607ea 33:0173bcd7697c
    65     TBool ConsistentState() const;
    65     TBool ConsistentState() const;
    66 
    66 
    67     inline void AcquireLock() const {iDriveInteface.AcquireLock();} 
    67     inline void AcquireLock() const {iDriveInteface.AcquireLock();} 
    68     inline void ReleaseLock() const {iDriveInteface.ReleaseLock();} 
    68     inline void ReleaseLock() const {iDriveInteface.ReleaseLock();} 
    69     
    69     
    70     inline TFatDriveInterface& DriveInterface() const;
    70     inline TDriveInterface& DriveInterface() const;
    71     inline CFatMountCB* OwnerMount() const;
    71     inline CFatMountCB* OwnerMount() const;
    72 
    72 
    73 
    73 
    74 private:
    74 private:
    75     
    75     
   126     inline void SetState(TState aState);
   126     inline void SetState(TState aState);
   127     
   127     
   128 private:
   128 private:
   129 
   129 
   130     
   130     
   131     CFatCacheBase*         iCache;         ///< FAT cache, fixed or LRU depending on the FAT type
   131     CFatCacheBase*          iCache;         ///< FAT cache, fixed or LRU depending on the FAT type
   132     TFatDriveInterface&    iDriveInteface; ///< reference to the drive interface
   132     TDriveInterface&        iDriveInteface; ///< reference to the drive interface
   133     CFatHelperThreadBase*  ipHelperThread; ///< helper thread object pointer. NULL if it is not present
   133     CFatHelperThreadBase*   ipHelperThread; ///< helper thread object pointer. NULL if it is not present
   134     TState                 iState;         ///< state of this object 
   134     TState                  iState;         ///< state of this object 
   135 
   135 
   136     //-- friends
   136     //-- friends
   137     friend TInt FAT32_ScanThread(TAny* apHostObject);
   137     friend TInt FAT32_ScanThread(TAny* apHostObject);
   138     friend class CFat32ScanThread;
   138     friend class CFat32ScanThread;
   139     friend class CFat32FreeSpaceScanner;
   139     friend class CFat32FreeSpaceScanner;