| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | // ====================================================================== | ||
| 2 | // \title Os/Posix/DefaultConsole.cpp | ||
| 3 | // \brief sets default Os::Console to posix implementation via linker | ||
| 4 | // ====================================================================== | ||
| 5 | #include "Os/Console.hpp" | ||
| 6 | #include "Os/Delegate.hpp" | ||
| 7 | #include "Os/Posix/Console.hpp" | ||
| 8 | |||
| 9 | namespace Os { | ||
| 10 | 1 | ConsoleInterface* ConsoleInterface::getDelegate(ConsoleHandleStorage& aligned_new_memory, | |
| 11 | const ConsoleInterface* to_copy) { | ||
| 12 | 1 | return Os::Delegate::makeDelegate<ConsoleInterface, Os::Posix::Console::PosixConsole>(aligned_new_memory, to_copy); | |
| 13 | } | ||
| 14 | } // namespace Os | ||
| 15 |