mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 13:35:34 +08:00
Change the operating system name from OSX to MacOS everywhere
Summary: - Changed the name in all build artifacts - Everywhere in C++ Reviewers: #swift_pilot_client, kbasan Reviewed By: #swift_pilot_client, kbasan Subscribers: jenkins Maniphest Tasks: T205 Differential Revision: https://dev.swift-project.org/D69
This commit is contained in:
@@ -13,8 +13,8 @@
|
||||
#include "win/keyboardwindows.h"
|
||||
#elif defined(Q_OS_LINUX)
|
||||
#include "linux/keyboardlinux.h"
|
||||
#elif defined(Q_OS_OSX)
|
||||
#include "osx/keyboardmac.h"
|
||||
#elif defined(Q_OS_MACOS)
|
||||
#include "macos/keyboardmacos.h"
|
||||
#else
|
||||
#error "Platform is not supported!"
|
||||
#endif
|
||||
@@ -29,8 +29,8 @@ namespace BlackInput
|
||||
std::unique_ptr<IKeyboard> ptr(new CKeyboardWindows(parent));
|
||||
#elif defined(Q_OS_LINUX)
|
||||
std::unique_ptr<IKeyboard> ptr(new CKeyboardLinux(parent));
|
||||
#elif defined(Q_OS_OSX)
|
||||
std::unique_ptr<IKeyboard> ptr(new CKeyboardMac(parent));
|
||||
#elif defined(Q_OS_MACOS)
|
||||
std::unique_ptr<IKeyboard> ptr(new CKeyboardMacOS(parent));
|
||||
#endif
|
||||
ptr->init();
|
||||
return ptr;
|
||||
|
||||
Reference in New Issue
Block a user