summaryrefslogtreecommitdiff
path: root/Sources/track.swift
diff options
context:
space:
mode:
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
+ }
+}