1 #ifndef CSM_DOC_MESSAGES_H
2 #define CSM_DOC_MESSAGES_H
9 #include "../world/universalid.hpp"
33 const std::string& hint,
Severity severity);
56 const std::string& hint =
"",
60 void push_back (
const std::pair<CSMWorld::UniversalId, std::string>& data);
Iterator begin() const
Definition: messages.cpp:43
void message(CodeContainer &code, Literals &literals, const std::string &message, int buttons)
Definition: generator.cpp:537
static std::string toString(Severity severity)
Definition: messages.cpp:10
Definition: messages.hpp:18
Iterator end() const
Definition: messages.cpp:48
Collection mMessages
Definition: messages.hpp:48
Definition: messages.hpp:17
Definition: messages.hpp:13
void add(const CSMWorld::UniversalId &id, const std::string &message, const std::string &hint="", Message::Severity severity=Message::Severity_Default)
Definition: messages.cpp:29
Definition: messages.hpp:38
std::string mHint
Definition: messages.hpp:27
Definition: messages.hpp:22
Severity mSeverity
Definition: messages.hpp:28
Collection::const_iterator Iterator
Definition: messages.hpp:44
void push_back(const std::pair< CSMWorld::UniversalId, std::string > &data)
Definition: messages.cpp:38
Definition: messages.hpp:20
CSMWorld::UniversalId mId
Definition: messages.hpp:25
Severity
Definition: messages.hpp:15
std::vector< Message > Collection
Definition: messages.hpp:42
Message()
Definition: messages.cpp:3
std::string mMessage
Definition: messages.hpp:26
Message::Severity mDefault
Definition: messages.hpp:49
Messages(Message::Severity default_)
Definition: messages.cpp:25
Definition: messages.hpp:19
Definition: universalid.hpp:12