jellyfin-server/MediaBrowser.Model/Activity/IActivityManager.cs

20 lines
554 B
C#
Raw Normal View History

2020-02-04 00:49:27 +00:00
#pragma warning disable CS1591
using System;
2018-12-27 23:27:57 +00:00
using MediaBrowser.Model.Events;
using MediaBrowser.Model.Querying;
2018-12-27 23:27:57 +00:00
namespace MediaBrowser.Model.Activity
{
public interface IActivityManager
{
event EventHandler<GenericEventArgs<ActivityLogEntry>> EntryCreated;
void Create(ActivityLogEntry entry);
2018-12-27 23:27:57 +00:00
QueryResult<ActivityLogEntry> GetActivityLogEntries(DateTime? minDate, int? startIndex, int? limit);
QueryResult<ActivityLogEntry> GetActivityLogEntries(DateTime? minDate, bool? hasUserId, int? x, int? y);
2018-12-27 23:27:57 +00:00
}
}