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

22 lines
388 B
C++
Raw Normal View History

2016-08-07 10:50:04 -04:00
namespace Components
{
class Discovery : public Component
{
public:
Discovery();
~Discovery();
2016-08-15 10:40:30 -04:00
2016-09-16 05:04:28 -04:00
#if defined(DEBUG) || defined(FORCE_UNIT_TESTS)
const char* getName() { return "Discovery"; };
2016-08-15 10:40:30 -04:00
#endif
2016-08-07 10:50:04 -04:00
static void Perform();
private:
static bool IsTerminating;
static bool IsPerforming;
static std::thread Thread;
static std::string Challenge;
2016-08-07 10:50:04 -04:00
};
}