| 13 | #define PICCOLO_STR(s) #s |
| 14 | |
| 15 | int main(int argc, char** argv) |
| 16 | { |
| 17 | std::filesystem::path executable_path(argv[0]); |
| 18 | std::filesystem::path config_file_path = executable_path.parent_path() / "PiccoloEditor.ini"; |
| 19 | |
| 20 | Piccolo::PiccoloEngine* engine = new Piccolo::PiccoloEngine(); |
| 21 | |
| 22 | engine->startEngine(config_file_path.generic_string()); |
| 23 | engine->initialize(); |
| 24 | |
| 25 | Piccolo::PiccoloEditor* editor = new Piccolo::PiccoloEditor(); |
| 26 | editor->initialize(engine); |
| 27 | |
| 28 | editor->run(); |
| 29 | |
| 30 | editor->clear(); |
| 31 | |
| 32 | engine->clear(); |
| 33 | engine->shutdownEngine(); |
| 34 | |
| 35 | return 0; |
| 36 | } |
nothing calls this directly
no test coverage detected