mirror of
https://github.com/SabreTools/MPF.git
synced 2026-07-02 17:24:48 +00:00
Add framework for deleteable files
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
- Create method for applying theme
|
||||
- Fix drive letter check
|
||||
- Simply theme application
|
||||
- Add framework for deleteable files
|
||||
|
||||
### 2.7.2 (2023-10-17)
|
||||
|
||||
|
||||
@@ -235,6 +235,17 @@ namespace MPF.Core.Modules
|
||||
public virtual string? GetDefaultExtension(MediaType? mediaType) => null;
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Generate a list of all deleteable files generated
|
||||
/// </summary>
|
||||
/// <param name="basePath">Base filename and path to use for checking</param>
|
||||
/// <returns>List of all deleteable file paths, empty otherwise</returns>
|
||||
#if NET48
|
||||
public virtual List<string> GetDeleteableFilePaths(string basePath) => new List<string>();
|
||||
#else
|
||||
public virtual List<string> GetDeleteableFilePaths(string basePath) => new();
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Generate a list of all log files generated
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user