aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Activity/IActivityManager.cs
blob: 3cfd94695d33c7c5f0c27c3ba72e0d165a55fbae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using MediaBrowser.Model.Events;

namespace MediaBrowser.Model.Activity
{
    public interface IActivityManager
    {
        event EventHandler<GenericEventArgs<ActivityLogEntry>> EntryCreated;

        Task Create(ActivityLogEntry entry);

        IEnumerable<ActivityLogEntry> GetActivityLogEntries(DateTime? minDate, bool? hasUserId, int? x, int? y);
    }
}