Add NSApplicationLaunchUserNotificationKey in more obvious location

- https://bugzilla.xamarin.com/show_bug.cgi?id=58243
This commit is contained in:
Chris Hamons 2017-09-25 16:09:02 -05:00 коммит произвёл GitHub
Родитель cd542a0845 f87c911017
Коммит 8100830d83
1 изменённых файлов: 5 добавлений и 0 удалений

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

@ -716,6 +716,9 @@ namespace XamCore.AppKit {
[Lion, Field ("NSApplicationLaunchRemoteNotificationKey")] [Lion, Field ("NSApplicationLaunchRemoteNotificationKey")]
NSString LaunchRemoteNotificationKey { get; } NSString LaunchRemoteNotificationKey { get; }
[Lion, Field ("NSApplicationLaunchUserNotificationKey")]
NSString LaunchUserNotificationKey { get; }
[Notification, Field ("NSApplicationDidFinishRestoringWindowsNotification")] [Notification, Field ("NSApplicationDidFinishRestoringWindowsNotification")]
NSString DidFinishRestoringWindowsNotification { get; } NSString DidFinishRestoringWindowsNotification { get; }
@ -22284,12 +22287,14 @@ namespace XamCore.AppKit {
CGRect RectForSmartMagnificationAtPoint (CGPoint atPoint, CGRect inRect); CGRect RectForSmartMagnificationAtPoint (CGPoint atPoint, CGRect inRect);
} }
#if !XAMCORE_4_0
[Category, BaseType (typeof (NSApplication))] [Category, BaseType (typeof (NSApplication))]
partial interface NSRemoteNotifications_NSApplication { partial interface NSRemoteNotifications_NSApplication {
[MountainLion, Field ("NSApplicationLaunchUserNotificationKey", "AppKit")] [MountainLion, Field ("NSApplicationLaunchUserNotificationKey", "AppKit")]
NSString NSApplicationLaunchUserNotificationKey { get; } NSString NSApplicationLaunchUserNotificationKey { get; }
} }
#endif
partial interface NSControlTextEditingEventArgs { partial interface NSControlTextEditingEventArgs {
[Export ("NSFieldEditor")] [Export ("NSFieldEditor")]