Own Apple platform services and thin Win32 lifecycle shell
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
#include "keymap.h"
|
||||
#include "main.h"
|
||||
#include "platform_apple/apple_platform_services.h"
|
||||
#include "platform_legacy/legacy_platform_services.h"
|
||||
#include "settings.h"
|
||||
#include <CoreFoundation/CoreFoundation.h>
|
||||
#include <Cocoa/Cocoa.h>
|
||||
@@ -525,11 +524,7 @@ NSString* keyCodeToString(NSUInteger keyCode, NSUInteger mods)
|
||||
[MSCrashes class]
|
||||
]];
|
||||
|
||||
g_platform_services = pp::platform::legacy::create_platform_services({
|
||||
.apple_document_services = []() -> pp::platform::apple::AppleDocumentPlatformServices& {
|
||||
return pp::platform::apple::active_legacy_apple_document_platform_services();
|
||||
},
|
||||
});
|
||||
g_platform_services = pp::platform::apple::create_apple_platform_services();
|
||||
App::I->set_platform_services(g_platform_services.get());
|
||||
App::I->initLog();
|
||||
App::I->create();
|
||||
|
||||
Reference in New Issue
Block a user