31 lines
828 B
C#
31 lines
828 B
C#
using Herse.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace KaraokePlayer.Classes
|
|
{
|
|
public class ControllerStateChangedEventArgs: EventArgs
|
|
{
|
|
public ControllerStateChangedEventArgs(PlayerState state )
|
|
{
|
|
State = state;
|
|
}
|
|
public PlayerState State { get; }
|
|
}
|
|
public class ControllerSongChangedEventArgs
|
|
{
|
|
public ControllerSongChangedEventArgs(QueueItem queueItem)
|
|
{
|
|
QueueItem = queueItem;
|
|
}
|
|
public QueueItem QueueItem { get; }
|
|
}
|
|
|
|
public delegate void ControllerStateChangedEventHandler(ControllerStateChangedEventArgs args);
|
|
public delegate void ControllerSongChangedEventHandler(ControllerSongChangedEventArgs args);
|
|
|
|
}
|