Changeset 1233


Ignore:
Timestamp:
9/30/2009 6:50:59 AM (5 years ago)
Author:
lowjoel
Message:

Implemented the FAT API for FAT12.

Location:
trunk/eraser6/Eraser.Util.FileSystem
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser6/Eraser.Util.FileSystem/Eraser.Util.FileSystem.vcproj

    r1225 r1233  
    349349            <File 
    350350                RelativePath=".\AssemblyInfo.cpp" 
     351                > 
     352            </File> 
     353            <File 
     354                RelativePath=".\Fat12Api.cpp" 
    351355                > 
    352356            </File> 
  • trunk/eraser6/Eraser.Util.FileSystem/FatApi.h

    r1228 r1233  
    304304    }; 
    305305 
     306    public ref class Fat12Api : Fat12Or16Api 
     307    { 
     308    public: 
     309        Fat12Api(VolumeInfo^ info); 
     310        Fat12Api(VolumeInfo^ info, IO::Stream^ stream); 
     311 
     312    internal: 
     313        virtual bool IsClusterAllocated(unsigned cluster) override; 
     314        virtual unsigned GetNextCluster(unsigned cluster) override; 
     315        virtual unsigned FileSize(unsigned cluster) override; 
     316 
     317    private: 
     318        /// Retrieves the FAT value for the given cluster. 
     319        unsigned GetFatValue(unsigned cluster); 
     320    }; 
     321 
    306322    public ref class Fat16Api : Fat12Or16Api 
    307323    { 
Note: See TracChangeset for help on using the changeset viewer.