From 1fd1e4b5f2418e3ac2909658993bfedb615537ec Mon Sep 17 00:00:00 2001 From: rtk0c Date: Thu, 6 May 2021 21:56:40 -0700 Subject: Change brace style to on new line, add initial deliveries view when an order entry is selected --- core/src/Entrypoint/Backend_Metal.mm | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'core/src/Entrypoint/Backend_Metal.mm') diff --git a/core/src/Entrypoint/Backend_Metal.mm b/core/src/Entrypoint/Backend_Metal.mm index a1f4993..276bef2 100644 --- a/core/src/Entrypoint/Backend_Metal.mm +++ b/core/src/Entrypoint/Backend_Metal.mm @@ -2,22 +2,27 @@ #if BUILD_CORE_WITH_METAL_BACKEND -class MetalBackend : public RenderingBackend { +class MetalBackend : public RenderingBackend +{ public: - MetalBackend() { + MetalBackend() + { // TODO } - virtual ~MetalBackend() { + virtual ~MetalBackend() + { // TODO } - virtual void RunUntilWindowClose(void (*windowContent)()) { + virtual void RunUntilWindowClose(void (*windowContent)()) + { // TODO } }; -std::unique_ptr RenderingBackend::CreateMetalBackend() { +std::unique_ptr RenderingBackend::CreateMetalBackend() +{ try { return std::make_unique(); } catch (std::exception& e) { @@ -27,7 +32,8 @@ std::unique_ptr RenderingBackend::CreateMetalBackend() { #else // ^^ BUILD_CORE_WITH_METAL_BACKEND | BUILD_CORE_WITH_METAL_BACKEND vv -std::unique_ptr RenderingBackend::CreateMetalBackend() { +std::unique_ptr RenderingBackend::CreateMetalBackend() +{ return nullptr; } -- cgit v1.2.3-70-g09d2