diff -r e95e916eb018 -r 3bf9b343158d src/FingersDance.Control.SyncSource/ISyncSource.cs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/FingersDance.Control.SyncSource/ISyncSource.cs Wed Sep 23 10:49:34 2009 +0200 @@ -0,0 +1,31 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Windows; + +namespace FingersDance.Control.SyncSource +{ + public enum SyncSourceState + { + Playing, + Paused, + Stopped + } + + public class SyncSourceEventArg : RoutedEventArgs + { + public SyncSourceState OrignalState { get; set; } + } + + public delegate void SyncSourceEventHandler(Object source, SyncSourceEventArg e); + + public interface ISyncSource + { + void Play(); + void Pause(); + void Stop(); + SyncSourceState State { get; set; } + event SyncSourceEventHandler CurrentStateChanged; + } +}