iw4x-client/src/Components/Modules/StartupMessages.hpp

21 lines
370 B
C++
Raw Normal View History

#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);
private:
static int TotalMessages;
static std::list<std::string> MessageList;
};
}