aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Services/PathProvider.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Timeline/Services/PathProvider.cs')
-rw-r--r--Timeline/Services/PathProvider.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/Timeline/Services/PathProvider.cs b/Timeline/Services/PathProvider.cs
index ac7cd800..1baba5c0 100644
--- a/Timeline/Services/PathProvider.cs
+++ b/Timeline/Services/PathProvider.cs
@@ -8,6 +8,7 @@ namespace Timeline.Services
{
public string GetWorkingDirectory();
public string GetDatabaseFilePath();
+ public string GetDatabaseBackupDirectory();
}
public class PathProvider : IPathProvider
@@ -32,5 +33,10 @@ namespace Timeline.Services
{
return Path.Combine(_workingDirectory, ApplicationConfiguration.DatabaseFileName);
}
+
+ public string GetDatabaseBackupDirectory()
+ {
+ return Path.Combine(_workingDirectory, ApplicationConfiguration.DatabaseBackupDirectoryName);
+ }
}
}