blob: 4d391a8ae7ffd2500dfdd48f56becafc50c50c8a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#include "Runtime.h"
#ifdef NT_CONSOLE_APP
#include <iostream>
#endif
namespace nt
{
bool NT::IsRunning() const
{
return true;
}
void NT::SimulateEntryCall()
{
}
}
#ifdef NT_CONSOLE_APP
int main()
{
const nt::NT runtime;
std::cout << "RNT running: " << (runtime.IsRunning() ? "yes" : "no") << '\n';
const int exit_code = runtime.IsRunning() ? 0 : 1;
#ifdef NT_WAIT_ON_EXIT
std::cout << "Press Enter to exit...";
std::cin.get();
#endif
return exit_code;
}
#endif
|