Changeset 1235


Ignore:
Timestamp:
09/30/09 06:52:34 (5 years ago)
Author:
lowjoel
Message:

Implemented the FAT API for FAT12 and consequently implemented FAT12 directory erasure.

Location:
trunk/eraser6/Eraser.DefaultPlugins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser6/Eraser.DefaultPlugins/FileSystems/Fat.cs

    r1230 r1235  
    129129    } 
    130130 
     131    public class Fat12FileSystem : FatFileSystem 
     132    { 
     133        public override bool Supports(string fileSystemName) 
     134        { 
     135            if (fileSystemName == "FAT12") 
     136                return true; 
     137            return false; 
     138        } 
     139 
     140        protected override FatApi GetFatApi(VolumeInfo info, FileStream stream) 
     141        { 
     142            return new Fat12Api(info, stream); 
     143        } 
     144    } 
     145 
    131146    public class Fat16FileSystem : FatFileSystem 
    132147    { 
  • trunk/eraser6/Eraser.DefaultPlugins/Plugin.cs

    r1230 r1235  
    5656            PrngManager.Register(new RngCrypto()); 
    5757 
     58            FileSystemManager.Register(new Fat12FileSystem()); 
    5859            FileSystemManager.Register(new Fat16FileSystem()); 
    5960            FileSystemManager.Register(new Fat32FileSystem()); 
Note: See TracChangeset for help on using the changeset viewer.