//////////////////////////////////////////////////////////////// // // emailClass.h // // Interface for a class that contains information // about a single e-mail message. // // [Note: There are several things here that I would normally // add, but I'm trying to keep it simple to concentrate // on the very beginning notion of a class. Notably missing // are (1) #ifdef protection against multiple inclusion of this // header and (2) const string & parameters.] // // // REVISION HISTORY // 3/2/01 (Jeff Ondich) Written for CS117 class demo and // a midterm exam. // //////////////////////////////////////////////////////////////// #include class EmailMessage { private: string mReturnPathLine; string mSubjectLine; string mDateLine; string mMessage; public: EmailMessage(); void SetData( string returnPath, string subject, string date, string message ); string GetSender(); string GetSubject(); string GetDate(); string GetMessage(); };