class PrivateMessage : public Message { User * mySender; public : PrivateMessage (const string & content, User * sender) : Message (content), mySender (sender) {} User * getSender (void) const { return mySender; } }; // PrivateMessage
class PrivateMessage : public Message { User * mySender; public : PrivateMessage (const string & content, User * sender) : Message (content), mySender (sender) {} User * getSender (void) const { return mySender; } }; // PrivateMessage