aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Kernel/BaseKernel.cs
diff options
context:
space:
mode:
authorLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-08-19 18:47:02 -0400
committerLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-08-19 18:47:02 -0400
commitd54c6d8bf63c13c0b47f76fd9f40fec614fbd689 (patch)
tree2932e9f064d06388831e6c6fb29089eedd543b64 /MediaBrowser.Common/Kernel/BaseKernel.cs
parent3586c54e90811d106631ac429d126c0414889b64 (diff)
Created a BaseApplication class in common
Diffstat (limited to 'MediaBrowser.Common/Kernel/BaseKernel.cs')
-rw-r--r--MediaBrowser.Common/Kernel/BaseKernel.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/MediaBrowser.Common/Kernel/BaseKernel.cs b/MediaBrowser.Common/Kernel/BaseKernel.cs
index 22ecc3315..15ab687f3 100644
--- a/MediaBrowser.Common/Kernel/BaseKernel.cs
+++ b/MediaBrowser.Common/Kernel/BaseKernel.cs
@@ -18,7 +18,7 @@ namespace MediaBrowser.Common.Kernel
/// <summary>
/// Represents a shared base kernel for both the UI and server apps
/// </summary>
- public abstract class BaseKernel<TConfigurationType, TApplicationPathsType> : IDisposable
+ public abstract class BaseKernel<TConfigurationType, TApplicationPathsType> : IDisposable, IKernel
where TConfigurationType : BaseApplicationConfiguration, new()
where TApplicationPathsType : BaseApplicationPaths, new()
{
@@ -264,4 +264,10 @@ namespace MediaBrowser.Common.Kernel
}
}
}
+
+ public interface IKernel
+ {
+ Task Init(IProgress<TaskProgress> progress);
+ void Dispose();
+ }
}