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

25 lines
438 B
C++
Raw Normal View History

2015-12-29 17:13:23 -05:00
namespace Components
{
class ConnectProtocol : public Component
{
public:
2016-08-15 10:40:30 -04:00
ConnectProtocol();
2016-09-16 05:04:28 -04:00
#if defined(DEBUG) || defined(FORCE_UNIT_TESTS)
const char* getName() { return "ConnectProtocol"; };
2016-08-15 10:40:30 -04:00
#endif
static bool IsEvaluated();
static bool Used();
2015-12-30 09:37:53 -05:00
2015-12-29 17:13:23 -05:00
private:
static bool Evaluated;
static std::string ConnectString;
2015-12-29 17:13:23 -05:00
static void EvaluateProtocol();
static bool InstallProtocol();
2016-10-02 19:36:18 -04:00
static void Invocation();
2015-12-29 17:13:23 -05:00
};
}