Add some unfinished methods to SongQueue
This commit is contained in:
parent
bd51c1d6d4
commit
6924df7f13
26
songqueue.go
26
songqueue.go
|
@ -5,12 +5,24 @@
|
|||
* Copyright (c) 2014 Matthieu Grieger (MIT License)
|
||||
*/
|
||||
|
||||
package main
|
||||
package main
|
||||
|
||||
type SongQueue struct {
|
||||
songs []Song
|
||||
}
|
||||
type SongQueue struct {
|
||||
queue Queue
|
||||
}
|
||||
|
||||
func NewSongQueue() *SongQueue {
|
||||
return &SongQueue{}
|
||||
}
|
||||
func NewSongQueue() *SongQueue {
|
||||
return &SongQueue{}
|
||||
}
|
||||
|
||||
func (q *SongQueue) AddSong(s *Song) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (q *SongQueue) NextSong() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
//func (q *SongQueue) CurrentSong() Song {
|
||||
// return false
|
||||
//}
|
||||
|
|
Reference in a new issue