//------------------------------------------------------------------- // File :song.h // Author :Alicia Thorsen // Course :CS1129 // // Song class //------------------------------------------------------------------- #ifndef SONG_H #define SONG_H #include using namespace std; class Song { public: Song() : deleted(true) {} // Mutator functions void setTitle(string t) { title = t; } void setAlbum(string a) { album = a; } void setArtist(string a) { artist = a; } void setGenre(string g) { genre = g; } void setDeleted(bool d) { deleted = d; } // Accessor functions string getTitle() { return title; } string getAlbum() { return album; } string getArtist() { return artist; } string getGenre() { return genre; } bool isDeleted() { return deleted; } private: bool deleted; // Flag to indicate if deleted. string title; string album; string artist; string genre; }; #endif