Update BaseMonoApp.cs

This commit is contained in:
Luke 2016-05-23 14:03:32 -04:00
parent cce80f6816
commit 8ba72e9740

View File

@ -14,6 +14,13 @@ namespace MediaBrowser.Server.Mac
{
public abstract class BaseMonoApp : INativeApp
{
protected ILogger Logger { get; private set; }
protected BaseMonoApp(ILogger logger)
{
Logger = logger;
}
/// <summary>
/// Shutdowns this instance.
/// </summary>
@ -38,6 +45,11 @@ namespace MediaBrowser.Server.Mac
return false;
}
}
public IDbConnector GetDbConnector()
{
return new DbConnector(Logger);
}
public virtual bool SupportsLibraryMonitor
{