mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-19 20:09:03 -07:00
cf6ef9958d
Event Rewrite (Part 1)
26 lines
670 B
C#
26 lines
670 B
C#
#pragma warning disable CS1591
|
|
|
|
using System;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using Jellyfin.Data.Entities;
|
|
using Jellyfin.Data.Events;
|
|
using MediaBrowser.Model.Querying;
|
|
|
|
namespace MediaBrowser.Model.Activity
|
|
{
|
|
public interface IActivityManager
|
|
{
|
|
event EventHandler<GenericEventArgs<ActivityLogEntry>> EntryCreated;
|
|
|
|
Task CreateAsync(ActivityLog entry);
|
|
|
|
QueryResult<ActivityLogEntry> GetPagedResult(int? startIndex, int? limit);
|
|
|
|
QueryResult<ActivityLogEntry> GetPagedResult(
|
|
Func<IQueryable<ActivityLog>, IQueryable<ActivityLog>> func,
|
|
int? startIndex,
|
|
int? limit);
|
|
}
|
|
}
|