11 #ifndef CXMESSAGELISTENER_H
12 #define CXMESSAGELISTENER_H
14 #include "cxResourceExport.h"
26 typedef boost::shared_ptr<class Log>
LogPtr;
46 bool containsErrors()
const;
47 bool containsText(
const QString text)
const;
48 QList<Message> getMessages()
const;
53 void setMessageQueueMaxSize(
int count);
54 int getMessageQueueMaxSize()
const;
57 void newMessage(
Message message);
58 void newChannel(QString channel);
61 void messageReceived(
Message message);
64 bool isError(MESSAGE_LEVEL level)
const;
65 void limitQueueSize();
66 QList<Message> mMessages;
68 int mMessageHistoryMaxSize;
77 #endif // CXMESSAGELISTENER_H