diff options
| author | Eric Reed <ebr@mediabrowser3.com> | 2013-03-02 14:08:36 -0500 |
|---|---|---|
| committer | Eric Reed <ebr@mediabrowser3.com> | 2013-03-02 14:08:36 -0500 |
| commit | 3abf1f7ed2b54a9b15b0b5cc746cb785379f2578 (patch) | |
| tree | 0c444e2b684ccdc8a81f2bc9222fa3e06d131b0a | |
| parent | 5d397aa3635127eb4927729dcf7795a8176ceab5 (diff) | |
Add system path to IApplicationPaths/BaseApplicationPaths
| -rw-r--r-- | MediaBrowser.Common.Implementations/BaseApplicationPaths.cs | 5 | ||||
| -rw-r--r-- | MediaBrowser.Common/Kernel/IApplicationPaths.cs | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/MediaBrowser.Common.Implementations/BaseApplicationPaths.cs b/MediaBrowser.Common.Implementations/BaseApplicationPaths.cs index d94d79c75..37bd62200 100644 --- a/MediaBrowser.Common.Implementations/BaseApplicationPaths.cs +++ b/MediaBrowser.Common.Implementations/BaseApplicationPaths.cs @@ -43,6 +43,11 @@ namespace MediaBrowser.Common.Implementations } /// <summary> + /// Gets the path to the system folder + /// </summary> + public string ProgramSystemPath { get { return Path.Combine(ProgramDataPath, "System"); }} + + /// <summary> /// The _data directory /// </summary> private string _dataDirectory; diff --git a/MediaBrowser.Common/Kernel/IApplicationPaths.cs b/MediaBrowser.Common/Kernel/IApplicationPaths.cs index abb783642..52c3b199d 100644 --- a/MediaBrowser.Common/Kernel/IApplicationPaths.cs +++ b/MediaBrowser.Common/Kernel/IApplicationPaths.cs @@ -13,6 +13,12 @@ namespace MediaBrowser.Common.Kernel string ProgramDataPath { get; } /// <summary> + /// Gets the path to the program system folder + /// </summary> + /// <value>The program data path.</value> + string ProgramSystemPath { get; } + + /// <summary> /// Gets the folder path to the data directory /// </summary> /// <value>The data directory.</value> |
