CAS/Console.hpp
2018-09-29 22:50:11 +02:00

31 lines
772 B
C++

#pragma once
const constexpr unsigned int INPUT_BUFFER_SIZE = 256;
class Console
{
public:
///////////////////////////////////////////////////////////
/// \brief Calls every important process functions
///
///////////////////////////////////////////////////////////
static void run();
private:
static char* input;
///////////////////////////////////////////////////////////
/// \brief Waits for user input and writes it into a variable
///
///////////////////////////////////////////////////////////
static void awaitInput();
///////////////////////////////////////////////////////////
/// \brief Takes input and manages it
///
///////////////////////////////////////////////////////////
static void handleInput();
};