KaraokePC/FirebaseKaraoke/Interfaces.cs
Matt Bruce 07982a5697 more refactoring
Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>
2016-07-24 23:01:58 -05:00

37 lines
867 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
{
int 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
{
int 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();
}
}