Minor clean ups for macOS Platform and UiContext units (#26416)

This commit is contained in:
Aaron van Geffen authored and GitHub committed 2026-04-20 11:30:04 +02:00
1 parent 9ffb8fbacd
commit 5e7888b672
2 files changed
+3 -16

No files matched your search

+3 -9
View File
@@ -11,19 +11,13 @@
#include "UiContext.h"
#include <openrct2/Diagnostic.h>
#include <openrct2/core/String.hpp>
#include <openrct2/ui/UiContext.h>
// undefine `interface` and `abstract`, because it's causing conflicts with Objective-C's keywords
#undef interface
#undef abstract
#include <ApplicationServices/ApplicationServices.h>
#import <Cocoa/Cocoa.h>
#include <Cocoa/Cocoa.h>
#include <CoreFoundation/CFBundle.h>
#include <SDL.h>
#include <mach-o/dyld.h>
#include <openrct2/Diagnostic.h>
#include <openrct2/ui/UiContext.h>
#include <string>
namespace OpenRCT2::Ui
-7
View File
@@ -11,21 +11,14 @@
#include "Platform.h"
#include "../Date.h"
#include "../OpenRCT2.h"
#include "../core/Path.hpp"
#include "../core/String.hpp"
#include "../localisation/Language.h"
// undefine `interface` and `abstract`, because it's causing conflicts with Objective-C's keywords
#undef interface
#undef abstract
#include <AvailabilityMacros.h>
#include <CoreText/CoreText.h>
#include <Foundation/Foundation.h>
#include <mach-o/dyld.h>
#include <mach/mach_time.h>
#include <pwd.h>
namespace OpenRCT2::Platform