[Foundation] Support for CoreMedia in watch (#12280)

Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
This commit is contained in:
TJ Lambert 2021-07-30 11:42:35 -05:00 коммит произвёл GitHub
Родитель af2fea2f82
Коммит a4ca84373c
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -48,9 +48,9 @@ using Contacts;
#endif #endif
#if !WATCH #if !WATCH
using CoreAnimation; using CoreAnimation;
using CoreMedia;
using CoreSpotlight; using CoreSpotlight;
#endif #endif
using CoreMedia;
using SceneKit; using SceneKit;
using Security; using Security;
#if IOS || MONOMAC #if IOS || MONOMAC
@ -98,9 +98,6 @@ using NSImage = Foundation.NSObject;
#if WATCH #if WATCH
// dummy usings to make code compile without having the actual types available (for [NoWatch] to work) // dummy usings to make code compile without having the actual types available (for [NoWatch] to work)
using CMTime = Foundation.NSObject;
using CMTimeMapping = Foundation.NSObject;
using CMTimeRange = Foundation.NSObject;
using NSAppleEventSendOptions = Foundation.NSObject; using NSAppleEventSendOptions = Foundation.NSObject;
using NSBezierPath = Foundation.NSObject; using NSBezierPath = Foundation.NSObject;
using NSImage = Foundation.NSObject; using NSImage = Foundation.NSObject;