diff --git a/Makefile b/Makefile index a046ed6..91777d4 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ all: mumbledj -mumbledj: main.go commands.go parseconfig.go strings.go queue.go song.go +mumbledj: main.go commands.go parseconfig.go strings.go queue.go song.go songqueue.go go build . clean: diff --git a/songqueue.go b/songqueue.go new file mode 100644 index 0000000..5e7da78 --- /dev/null +++ b/songqueue.go @@ -0,0 +1,16 @@ +/* + * MumbleDJ + * By Matthieu Grieger + * songqueue.go + * Copyright (c) 2014 Matthieu Grieger (MIT License) + */ + + package main + + type SongQueue struct { + songs []Song + } + + func NewSongQueue() *SongQueue { + return &SongQueue{} + } \ No newline at end of file