![](/media/cache/profiles/ba5be68d3d541f2ca043d77fc54fe702.jpg.50x50_q85.jpg)
3rd Repo, trying to figure this out.
Fork of SOFT253_Template_Weather_OS_54 by
Diff: MessageLogger/MessageLogger.h
- Revision:
- 76:ee1f132e5744
- Parent:
- 75:b44645bbf2d2
- Child:
- 77:db3384071634
--- a/MessageLogger/MessageLogger.h Tue Apr 25 16:06:35 2017 +0000 +++ b/MessageLogger/MessageLogger.h Wed Apr 26 10:00:19 2017 +0000 @@ -11,16 +11,15 @@ MessageLogger(); // public methods: - void SendError(string errorMessage); - void SendMessage(string message); + void SendError(char* errorMessage); + void SendMessage(char* message); bool GetError(); bool GetMessage(); void SetThread(Thread* logger); private: Thread* loggingThread; - ostringstream fatalError; - Mail<ostringstream, 16> message_mail; + char* fatalError; int messageCount; bool hasError; osStatus stat;