| 123456789101112131415161718192021 |
- /*
- * author: Patrick-Christopher Mattulat
- * e-mail: webmaster@lynarstudios.com
- */
- #include <cycle/StatusCodes.hpp>
- #include <window/SdlWindowApi.hpp>
- using ls::atlantis::cycle::StatusCodes;
- using ls::atlantis::interfaces::AStatusCode;
- using ls::atlantis::window::SdlWindowApi;
- using ::std::make_shared;
- using ::std::shared_ptr;
- int main()
- {
- const auto windowApi = make_shared<SdlWindowApi>();
- const shared_ptr<AStatusCode> statusCode = windowApi->init();
- return statusCode->getId() == StatusCodes::OK ? EXIT_SUCCESS : EXIT_FAILURE;
- }
|