From 6721a7f51f4874838ea518fcef23ff16931c469d Mon Sep 17 00:00:00 2001 From: Matthieu Grieger Date: Sun, 14 Dec 2014 21:37:55 -0800 Subject: [PATCH] Add songqueue.go --- Makefile | 2 +- songqueue.go | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 songqueue.go 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