2017-01-30 21:57:31 -05:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace Components
|
|
|
|
{
|
|
|
|
class StartupMessages : public Component
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
StartupMessages();
|
|
|
|
|
|
|
|
#if defined(DEBUG) || defined(FORCE_UNIT_TESTS)
|
|
|
|
const char* getName() override { return "StartupMessages"; };
|
|
|
|
#endif
|
|
|
|
|
|
|
|
static void AddMessage(std::string message);
|
2017-02-06 15:46:57 -05:00
|
|
|
|
|
|
|
private:
|
2017-02-06 15:46:38 -05:00
|
|
|
static int TotalMessages;
|
2017-02-06 15:46:57 -05:00
|
|
|
static std::list<std::string> MessageList;
|
2017-01-30 21:57:31 -05:00
|
|
|
};
|
|
|
|
}
|