Changeset 1196
- Timestamp:
- 9/28/2009 7:22:58 AM (4 years ago)
- Location:
- trunk/eraser6/Eraser.Manager
- Files:
-
- 2 edited
-
DirectExecutor.cs (modified) (2 diffs)
-
FileSystem.cs (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/eraser6/Eraser.Manager/DirectExecutor.cs
r1193 r1196 530 530 531 531 //Define the callback handlers 532 FileSystem.ClusterTipsSearchProgress searchProgress = delegate(string path)532 ClusterTipsSearchProgress searchProgress = delegate(string path) 533 533 { 534 534 progress.Event.CurrentItemName = path; … … 539 539 }; 540 540 541 FileSystem.ClusterTipsEraseProgress eraseProgress =541 ClusterTipsEraseProgress eraseProgress = 542 542 delegate(int currentFile, int totalFiles, string currentFilePath) 543 543 { -
trunk/eraser6/Eraser.Manager/FileSystem.cs
r1195 r1196 213 213 214 214 /// <summary> 215 /// The function prototype for cluster tip search progress callbacks. This is216 /// called when the cluster tips are being searched.217 /// </summary>218 /// <param name="currentPath">The directory being searched</param>219 public delegate void ClusterTipsSearchProgress(string currentPath);220 221 /// <summary>222 /// The function prototype for cluster tip erasure callbacks. This is called when223 /// the cluster tips are being erased.224 /// </summary>225 /// <param name="currentFile">The current file index being erased.</param>226 /// <param name="totalFiles">The total number of files to be erased.</param>227 /// <param name="currentFilePath">The path to the current file being erased.</param>228 public delegate void ClusterTipsEraseProgress(int currentFile, int totalFiles,229 string currentFilePath);230 231 /// <summary>232 215 /// Erases all file cluster tips in the given volume. 233 216 /// </summary> 234 217 /// <param name="info">The volume to search for file cluster tips and erase them.</param> 235 218 /// <param name="method">The erasure method being employed.</param> 236 /// <param name="log ger">The log manager instance that tracks log messages.</param>219 /// <param name="log">The log manager instance that tracks log messages.</param> 237 220 /// <param name="searchCallback">The callback function for search progress.</param> 238 221 /// <param name="eraseCallback">The callback function for erasure progress.</param> 239 222 public abstract void EraseClusterTips(VolumeInfo info, ErasureMethod method, 240 Logger log ger, ClusterTipsSearchProgress searchCallback,223 Logger log, ClusterTipsSearchProgress searchCallback, 241 224 ClusterTipsEraseProgress eraseCallback); 242 225 … … 275 258 /// <param name="info"></param> 276 259 public abstract void EraseFileSystemObject(StreamInfo info, ErasureMethod method, 277 Eras erMethodProgressFunction callback);260 ErasureMethodProgressFunction callback); 278 261 279 262 /// <summary> … … 297 280 public const int FileNameEraseTries = 50; 298 281 } 282 283 /// <summary> 284 /// The function prototype for cluster tip search progress callbacks. This is 285 /// called when the cluster tips are being searched. 286 /// </summary> 287 /// <param name="currentPath">The directory being searched</param> 288 public delegate void ClusterTipsSearchProgress(string currentPath); 289 290 /// <summary> 291 /// The function prototype for cluster tip erasure callbacks. This is called when 292 /// the cluster tips are being erased. 293 /// </summary> 294 /// <param name="currentFile">The current file index being erased.</param> 295 /// <param name="totalFiles">The total number of files to be erased.</param> 296 /// <param name="currentFilePath">The path to the current file being erased.</param> 297 public delegate void ClusterTipsEraseProgress(int currentFile, int totalFiles, 298 string currentFilePath); 299 299 300 300 /// <summary> … … 696 696 697 697 public override void EraseFileSystemObject(StreamInfo info, ErasureMethod method, 698 Eras erMethodProgressFunction callback)698 ErasureMethodProgressFunction callback) 699 699 { 700 700 //Check if the file fits in one MFT record … … 767 767 768 768 public override void EraseFileSystemObject(StreamInfo info, ErasureMethod method, 769 Eras erMethodProgressFunction callback)769 ErasureMethodProgressFunction callback) 770 770 { 771 771 //Create the file stream, and call the erasure method to write to
Note: See TracChangeset
for help on using the changeset viewer.
