Changeset 1215 for trunk/eraser6


Ignore:
Timestamp:
9/29/2009 11:57:34 AM (5 years ago)
Author:
lowjoel
Message:

Removed the GetStartCluster? overload which takes a file from FatDirectory? since we can easily use the Items property now.

Location:
trunk/eraser6/Eraser.Util.FileSystem
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser6/Eraser.Util.FileSystem/Fat32Api.cpp

    r1214 r1215  
    134134 
    135135            FatDirectory^ currentDirectory = LoadDirectory(cluster, parentDir); 
    136             cluster = currentDirectory->GetStartCluster(component); 
     136            cluster = currentDirectory->Items[component]->Cluster; 
    137137            parentDir = component; 
    138138        } 
  • trunk/eraser6/Eraser.Util.FileSystem/FatApi.cpp

    r1214 r1215  
    270270    } 
    271271 
    272     unsigned FatDirectory::GetStartCluster(String^ file) 
    273     { 
    274         return Entries[file]->Cluster; 
    275     } 
    276  
    277272    void FatDirectory::ClearDeletedEntries() 
    278273    { 
  • trunk/eraser6/Eraser.Util.FileSystem/FatApi.h

    r1214 r1215  
    194194        FatDirectory(String^ name, unsigned cluster, FatApi^ api); 
    195195 
    196         /// Gets the start cluster of the requested file within this directory. 
    197         unsigned GetStartCluster(String^ file); 
    198  
    199196        /// Compacts the directory structure. 
    200197        void ClearDeletedEntries(); 
Note: See TracChangeset for help on using the changeset viewer.