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

21 lines
347 B
C++
Raw Normal View History

2017-01-18 17:44:36 -05:00
namespace Components
{
class Flags : public Component
{
public:
Flags();
~Flags();
#if defined(DEBUG) || defined(FORCE_UNIT_TESTS)
const char* getName() { return "Flags"; };
#endif
static bool HasFlag(std::string flag);
private:
static std::vector<std::string> EnabledFlags;
static void ParseFlags();
};
}