aboutsummaryrefslogtreecommitdiff
path: root/core/src/Entrypoint/Backend_Metal.mm
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2021-05-06 21:56:40 -0700
committerrtk0c <[email protected]>2021-05-06 21:56:40 -0700
commit1fd1e4b5f2418e3ac2909658993bfedb615537ec (patch)
tree6de080d2273890f8a74d7fcd3572bb44f44ac545 /core/src/Entrypoint/Backend_Metal.mm
parent538e804fc9beb83e711a210ffbb6badc15f285d5 (diff)
Change brace style to on new line, add initial deliveries view when an order entry is selected
Diffstat (limited to 'core/src/Entrypoint/Backend_Metal.mm')
-rw-r--r--core/src/Entrypoint/Backend_Metal.mm18
1 files changed, 12 insertions, 6 deletions
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> RenderingBackend::CreateMetalBackend() {
+std::unique_ptr<RenderingBackend> RenderingBackend::CreateMetalBackend()
+{
try {
return std::make_unique<MetalBackend>();
} catch (std::exception& e) {
@@ -27,7 +32,8 @@ std::unique_ptr<RenderingBackend> RenderingBackend::CreateMetalBackend() {
#else // ^^ BUILD_CORE_WITH_METAL_BACKEND | BUILD_CORE_WITH_METAL_BACKEND vv
-std::unique_ptr<RenderingBackend> RenderingBackend::CreateMetalBackend() {
+std::unique_ptr<RenderingBackend> RenderingBackend::CreateMetalBackend()
+{
return nullptr;
}