From ced3d03bdb3ce866d832e03fb212865140905a9a Mon Sep 17 00:00:00 2001 From: Thomas Leyh Date: Sun, 24 Jul 2016 08:14:18 +0200 Subject: Add project files. --- V3/Data/IPathManager.cs | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 V3/Data/IPathManager.cs (limited to 'V3/Data/IPathManager.cs') diff --git a/V3/Data/IPathManager.cs b/V3/Data/IPathManager.cs new file mode 100644 index 0000000..5574b35 --- /dev/null +++ b/V3/Data/IPathManager.cs @@ -0,0 +1,30 @@ +namespace V3.Data +{ + /// + /// Provides access to the default applications path, i. e. the + /// directories where save games, achievements and other persistent data + /// can be stored. + /// + public interface IPathManager + { + /// + /// The base directory for persistent application data. + /// + string AppDirectory { get; } + + /// + /// The directory for save games. + /// + string SaveGameDirectory { get; } + + /// + /// The file to store the options in. + /// + string OptionsFile { get; } + + /// + /// Creates the application directories that do not already exist. + /// + void CreateMissingDirectories(); + } +} \ No newline at end of file -- cgit v1.2.1