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

21 lines
504 B
C#
Raw Normal View History

2020-02-04 00:49:27 +00:00
#pragma warning disable CS1591
using System;
2020-05-02 22:32:22 +00:00
using System.Threading.Tasks;
using Jellyfin.Data.Entities;
using Jellyfin.Data.Events;
using Jellyfin.Data.Queries;
using MediaBrowser.Model.Querying;
2018-12-27 23:27:57 +00:00
namespace MediaBrowser.Model.Activity
{
public interface IActivityManager
{
event EventHandler<GenericEventArgs<ActivityLogEntry>> EntryCreated;
2020-05-02 22:32:22 +00:00
Task CreateAsync(ActivityLog entry);
Task<QueryResult<ActivityLogEntry>> GetPagedResultAsync(ActivityLogQuery query);
2018-12-27 23:27:57 +00:00
}
}