summaryrefslogtreecommitdiff
path: root/Sources/track.swift
diff options
context:
space:
mode:
authorBen Beltran <ben@nsovocal.com>2017-05-20 09:52:30 -0500
committerBen Beltran <ben@nsovocal.com>2017-05-20 09:52:30 -0500
commitee966aa755acd8eea53c982e43e13aef4f193984 (patch)
tree5df111da5948ea198c5db1ca8f62e6c6ebe51178 /Sources/track.swift
parentbcd37f402a2586d051ac10a6a4982c8c226b2cce (diff)
parent0d4485a445dd387235c141afca7764481eac0311 (diff)
Merge branch 'release/0.1.0'0.1.0
Diffstat (limited to 'Sources/track.swift')
-rw-r--r--Sources/track.swift15
1 files changed, 15 insertions, 0 deletions
diff --git a/Sources/track.swift b/Sources/track.swift
new file mode 100644
index 0000000..ead4359
--- /dev/null
+++ b/Sources/track.swift
@@ -0,0 +1,15 @@
+// Holds the name and artist of a track
+class Track {
+
+ // The name of the track to search for
+ let name: String
+
+ // The name of the artist
+ let artist: String
+
+ init(withName trackName: String, andArtist trackArtist: String) {
+
+ name = trackName
+ artist = trackArtist
+ }
+}