Update BaseMonoApp.cs

pull/1154/head
Luke 9 years ago
parent cce80f6816
commit 8ba72e9740

@ -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
{

Loading…
Cancel
Save