mirror of
https://github.com/danbee/persephone
synced 2025-03-04 08:39:11 +00:00
31 lines
558 B
Swift
31 lines
558 B
Swift
//
|
|
// PlayerActions.swift
|
|
// Persephone
|
|
//
|
|
// Created by Daniel Barber on 2019/4/28.
|
|
// Copyright © 2019 Dan Barber. All rights reserved.
|
|
//
|
|
|
|
import Cocoa
|
|
import ReSwift
|
|
|
|
struct UpdateCurrentCoverArtAction: Action {
|
|
var coverArt: NSImage?
|
|
}
|
|
|
|
struct UpdateCurrentSongAction: Action {
|
|
var currentSong: Song
|
|
}
|
|
|
|
struct UpdateElapsedTimeAction: Action {
|
|
var elapsedTimeMs: UInt = 0
|
|
}
|
|
|
|
struct UpdateStatusAction: Action {
|
|
var status: MPDClient.MPDStatus
|
|
}
|
|
|
|
struct StartedDatabaseUpdateAction: Action {}
|
|
|
|
struct FinishedDatabaseUpdateAction: Action {}
|