Skip to content

Commit

Permalink
rename PlayMode PlayerPlayMode
Browse files Browse the repository at this point in the history
  • Loading branch information
nerd0geek1 committed Oct 5, 2016
1 parent b4462a7 commit eed537e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion PlayListPlayer/classes/player/PlayListPlayer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class PlayListPlayer: PlayListPlayerType {
public var didFinishPlayingTrack:(() -> Void)?
public var didFinishPlayingPlayList:(() -> Void)?

public var playMode: PlayMode = .RepeatPlayList
public var playMode: PlayerPlayMode = .RepeatPlayList

//MARK: - private properties

Expand Down
4 changes: 2 additions & 2 deletions PlayListPlayer/classes/player/PlayListPlayerType.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public protocol PlayListPlayerType {

var didFinishPlayingTrack:(() -> Void)? { get set }
var didFinishPlayingPlayList:(() -> Void)? { get set }
var playMode: PlayMode { get set }
var playMode: PlayerPlayMode { get set }

func setPlayList(urls: [NSURL])
func setCurrentIndex(index: Int) -> Bool
Expand All @@ -33,7 +33,7 @@ public protocol PlayListPlayerType {
func jumpToPreviousTrack()
}

public enum PlayMode: Int {
public enum PlayerPlayMode: Int {
case RepeatPlayList
case RepeatItem
case NoRepeat
Expand Down

0 comments on commit eed537e

Please sign in to comment.