Console.cpp 826 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #include "il2cpp-config.h"
  2. #if IL2CPP_TARGET_WINDOWS
  3. #include "os/Console.h"
  4. namespace il2cpp
  5. {
  6. namespace os
  7. {
  8. namespace Console
  9. {
  10. int32_t InternalKeyAvailable(int32_t ms_timeout)
  11. {
  12. IL2CPP_NOT_IMPLEMENTED_ICALL(Console::InternalKeyAvailable);
  13. return 0;
  14. }
  15. bool SetBreak(bool wantBreak)
  16. {
  17. IL2CPP_NOT_IMPLEMENTED_ICALL(Console::SetBreak);
  18. return false;
  19. }
  20. bool SetEcho(bool wantEcho)
  21. {
  22. IL2CPP_NOT_IMPLEMENTED_ICALL(Console::SetEcho);
  23. return false;
  24. }
  25. bool TtySetup(const std::string& keypadXmit, const std::string& teardown, uint8_t* control_characters, int32_t** size)
  26. {
  27. IL2CPP_NOT_IMPLEMENTED_ICALL(Console::TtySetup);
  28. return false;
  29. }
  30. const char* NewLine()
  31. {
  32. return "\r\n";
  33. }
  34. }
  35. }
  36. }
  37. #endif