// Project 2 for CS 1704 Spring 2004 // // Programmer: Deborah A Thompson // OS: Windows XP Professional // System: Pentium III 500, 256 MB Memory // Compiler: Visual C++ 6.0, Service Pack 4 // Last modified: Febraury 23, 2004 // // Purpose: This class, Item will hold the multimedia items. // Each item will have a name, a type, an author, an owner // (which will be a student email), a price, and a field indicating // whether the item is one of the following: will sell, will rent, // will trade, will lend, or none of the above. #ifndef ITEM_H #define ITEM_H #include #include "Constants.h" using namespace std; class Item { public: //constructor Item(); //deconstructor ~Item(); //IUpdate - updates, changes item information void IUpdate(string& inItem, string& inType, string& inAuthor, string& inOwner, string& inPrice, string& inStatus); //View All - view all information about item void ViewAll(string& inItem, string& inType, string& inAuthor, string& inOwner, string& inPrice, string& inStatus); //View Owner - email address string ViewOwner(); private: string bItem, //Item name Type, //Item type Author, //Item author Owner, //Item owner Price, //Item price Status; //Item status }; #endif