19 lines
554 B
C#
19 lines
554 B
C#
using System;
|
|
using Aurora.Backend.Models.Media;
|
|
|
|
namespace Aurora.Backend.Services.PlayerService
|
|
{
|
|
public delegate void PlaybackStateChangedEventHandler(object source, PlaybackStateChangedEventArgs e);
|
|
|
|
public class PlaybackStateChangedEventArgs : EventArgs
|
|
{
|
|
public PlaybackState OldState { get; }
|
|
public PlaybackState NewState { get; }
|
|
|
|
public PlaybackStateChangedEventArgs(PlaybackState oldState, PlaybackState newState)
|
|
{
|
|
OldState = oldState;
|
|
NewState = newState;
|
|
}
|
|
}
|
|
} |