using Aurora.Models.Media;
using Aurora.Design.Views.Main;

namespace Aurora.Design.Views 
{
    public class BasePlayerViewModel  : BaseViewModel
    {
        public BasePlayerViewModel(): base()
        {
        }
        /// <summary>
        /// Delegate for interacting with main screen player control
        /// </summary>
        /// <value></value>
        public SetPlayerDelegate ChangePlayerState { get; set; }

        /// <summary>
        /// Delegate for checking if main screen player control is currently playing
        /// </summary>
        /// <value></value>
        public GetIsPlayingDelegate IsPlaying { get; set; }

        /// <summary>
        /// Command event handler for player play button
        /// </summary>
        public virtual void OnPlayButtonCommandExecute() { }
        public virtual bool CanPlayButtonCommandExecute()
        {
            return true;
        }

        /// <summary>
        /// Command event handler for player next button
        /// </summary>
        public virtual void OnNextButtonExecute() { }
        public virtual bool CanNextButtonCommandExecute()
        {
            return true;
        }

        /// <summary>
        /// Command event handler for player previous button
        /// </summary>
        public virtual void OnPreviousButtonExecute() { }
        public virtual bool CanPreviousButtonCommandExecute()
        {
            return true;
        }
    }
}