Skip to content

Commit

Permalink
Move PlayerAction in PlayerHelper
Browse files Browse the repository at this point in the history
  • Loading branch information
xzzz9097 committed Jan 9, 2017
1 parent 991ec6d commit 892c40c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
14 changes: 13 additions & 1 deletion Muse/PlayerHelper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,20 @@
// Copyright © 2016 Edge Apps. All rights reserved.
//

// Defines a set of infos to inform the VC
// about player events from the outside
enum PlayerAction {
case play
case pause
case previous
case next
case shuffling
case repeating
case scrubbing
}

// Enum for the three possible player states
enum PlayerState {
// Enum for the three possible player states
case stopped, paused, playing
}

Expand Down
14 changes: 0 additions & 14 deletions Muse/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,6 @@
import Cocoa
import QuartzCore

// MARK: ActionInfo

// Defines a set of infos to inform the VC
// about player events from the outside
enum PlayerAction {
case play
case pause
case previous
case next
case shuffling
case repeating
case scrubbing
}

// MARK: ViewController

@available(OSX 10.12.2, *)
Expand Down

0 comments on commit 892c40c

Please sign in to comment.