diff options
| author | LukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com> | 2012-08-19 18:47:02 -0400 |
|---|---|---|
| committer | LukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com> | 2012-08-19 18:47:02 -0400 |
| commit | d54c6d8bf63c13c0b47f76fd9f40fec614fbd689 (patch) | |
| tree | 2932e9f064d06388831e6c6fb29089eedd543b64 /MediaBrowser.Common/Kernel/BaseKernel.cs | |
| parent | 3586c54e90811d106631ac429d126c0414889b64 (diff) | |
Created a BaseApplication class in common
Diffstat (limited to 'MediaBrowser.Common/Kernel/BaseKernel.cs')
| -rw-r--r-- | MediaBrowser.Common/Kernel/BaseKernel.cs | 8 |
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();
+ }
}
|
