#ifndef ALERTMESSAGE_H #define ALERTMESSAGE_H #include "AbstractSpectrumDataMessage.h" #include "DataManager_Define.h" #include class AlertMessage : public AbstractSpectrumDataMessage { public: explicit AlertMessage(); ~AlertMessage(); virtual bool IsValid(); const AlertData::AlertsInfo& GetAlertsInfo(); virtual void ClearData(); private: bool AnalyseMessgeBody(QTextStream& content); private: bool bIsValid; AlertData::AlertsInfo alerts_info; }; #endif // ALERTMESSAGE_H