2016-10-29 05:40:15 +00:00
|
|
|
|
using System;
|
|
|
|
|
using MediaBrowser.Model.System;
|
2018-12-28 14:30:53 +00:00
|
|
|
|
using Microsoft.Extensions.Logging;
|
2016-10-29 05:40:15 +00:00
|
|
|
|
|
2017-08-09 19:56:38 +00:00
|
|
|
|
namespace Emby.Server.Implementations
|
2016-10-29 05:40:15 +00:00
|
|
|
|
{
|
|
|
|
|
public class SystemEvents : ISystemEvents
|
|
|
|
|
{
|
|
|
|
|
public event EventHandler Resume;
|
|
|
|
|
public event EventHandler Suspend;
|
2016-11-14 06:44:21 +00:00
|
|
|
|
public event EventHandler SessionLogoff;
|
|
|
|
|
public event EventHandler SystemShutdown;
|
2016-10-29 05:40:15 +00:00
|
|
|
|
|
|
|
|
|
private readonly ILogger _logger;
|
|
|
|
|
|
|
|
|
|
public SystemEvents(ILogger logger)
|
|
|
|
|
{
|
|
|
|
|
_logger = logger;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|