Ignore:
Timestamp:
11/14/2008 8:43:37 AM (4 years ago)
Author:
lowjoel
Message:

-The EraserSettings? class should belong in Program.cs
-Defined a few defaults:

-File erasure method: Gutmann (35)
-Unused space: Pseudorandom (1)
-PRNG: RNGCryptoServiceProvider
-UI language: whatever the current UI culture is

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/Eraser/SettingsPanel.cs

    r561 r562  
    375375        } 
    376376    } 
    377  
    378     internal class EraserSettings 
    379     { 
    380         public EraserSettings() 
    381         { 
    382             settings = Manager.ManagerLibrary.Instance.SettingsManager.ModuleSettings; 
    383         } 
    384  
    385         /// <summary> 
    386         /// Gets or sets a value containing the language the UI should be displayed in. 
    387         /// </summary> 
    388         public string Language 
    389         { 
    390             get 
    391             { 
    392                 return (string)settings["Language"]; 
    393             } 
    394             set 
    395             { 
    396                 settings["Language"] = value; 
    397             } 
    398         } 
    399  
    400         /// <summary> 
    401         /// Gets or sets a value on whether the main frame should be minimised to the 
    402         /// system notification area. 
    403         /// </summary> 
    404         public bool HideWhenMinimised 
    405         { 
    406             get 
    407             { 
    408                 return (bool)settings["HideWhenMinimised"]; 
    409             } 
    410             set 
    411             { 
    412                 settings["HideWhenMinimised"] = value; 
    413             } 
    414         } 
    415  
    416         private Manager.Settings settings; 
    417     } 
    418377} 
    419378 
Note: See TracChangeset for help on using the changeset viewer.