KaraokePC/FirebaseKaraoke/Interfaces.cs
Matt Bruce 7cb75f8d5a converted int to Guid for Id properties
Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>
2016-07-25 19:18:34 -05:00

37 lines
869 B
C#

using KaraokePlayer.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KaraokePlayer.Interfaces
{
public interface ISong
{
Guid Id { get; set; }
int Order { get; set; }
string Title { get; set; }
string Artist { get; set; }
FileType FileType { get; set; }
string Path { get; set; }
string Description { get; }
}
public interface IController
{
Guid Id { get; set; }
ISong CurrentSong { get; set; }
string State { get; set; }
List<ISong> PlayQueue { get; set; }
void NextSong();
void RemoveSong(ISong song);
void AddSong(ISong song);
void SkipSong();
void Play();
void Pause();
void Stop();
void Next();
}
}