[d16-2] [GameController] GCGamepad is deprecated in the headers, so mark it as such. Fixes xamarin/maccore#1742. (#6428)

* [GameController] GCGamepad is deprecated in the headers, so mark it as such. Fixes xamarin/maccore#1742.

Fixes https://github.com/xamarin/maccore/issues/1742.

* Add attribute for tvOS too.
This commit is contained in:
monojenkins 2019-07-08 11:16:14 -04:00 коммит произвёл Rolf Bjarne Kvinge
Родитель 4e37f75ecb
Коммит 72cb587a39
1 изменённых файлов: 3 добавлений и 0 удалений

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

@ -121,6 +121,9 @@ namespace GameController {
[iOS (7,0)] [iOS (7,0)]
[Mac (10,9, onlyOn64: true)] [Mac (10,9, onlyOn64: true)]
[Deprecated (PlatformName.MacOSX, 10, 12)]
[Deprecated (PlatformName.iOS, 10, 0)]
[Deprecated (PlatformName.TvOS, 10, 0)]
[BaseType (typeof (NSObject))] [BaseType (typeof (NSObject))]
[DisableDefaultCtor] // return nil handle -> only exposed as getter [DisableDefaultCtor] // return nil handle -> only exposed as getter
partial interface GCGamepad { partial interface GCGamepad {