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