#ifndef MULTITEM_H #define MULTITEM_H #include #include #include using namespace std; class MultItem { private: string Mname; // a media item string type; // a type of media string author; // the author string owner; // the owners email string price; // the price string availability; // is it available? bool del; // boolean used to flag the media for deletion public: MultItem(); // constructor // MultItem(MultItem x) {*this=x}; // copy constructor (which isnt implemented in the program) // accessors string getMname() const; // returns item name string getType() const; // returns item type string getAuthor() const; // returns author string getOwner() const; // returns owners email string getPrice() const; // returns price of media string getAvailability() const; // returns availability of media bool getDel() const; // returns false // mutators void setMname(string); // sets the items name void setType(string); // sets the media type void setAuthor(string); // sets the author void setOwner(string); // sets the owners email address void setPrice(string); // sets the price of the media void setAvailability(string); // sets the availability of the item void deleteItem(); // flags the item for deletion ~MultItem(); // DESTRUCTOR }; bool operator == (const MultItem & lhs, const MultItem & rhs); // overloaded operator which allows for item comparison #endif