mirror of
https://github.com/danbee/persephone
synced 2025-03-04 08:39:11 +00:00
27 lines
465 B
Swift
27 lines
465 B
Swift
//
|
|
// PlayerActions.swift
|
|
// Persephone
|
|
//
|
|
// Created by Daniel Barber on 2019/4/28.
|
|
// Copyright © 2019 Dan Barber. All rights reserved.
|
|
//
|
|
|
|
import AppKit
|
|
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
|
|
}
|