Merge remote-tracking branch 'origin/master' into update-sources

This commit is contained in:
Ariel Abreu 2020-07-18 16:42:33 -04:00
commit cbed56b6d6
48 changed files with 440 additions and 6 deletions

View File

@ -76,6 +76,7 @@ set(AppKit_sources
NSComboBoxCell.m
NSWindowScripting.m
NSGraphicsContext.m
NSPageController.m
NSPageLayout.m
NSTabViewItem.m
NSText.m
@ -174,6 +175,7 @@ set(AppKit_sources
NSMutableParagraphStyle.m
NSBrowser.m
NSToolTipWindow.m
NSTitlebarAccessoryViewController.m
NSPasteboard.m
NSSearchFieldCell.m
NSOutlineView.m

View File

@ -20,4 +20,15 @@
#import <AppKit/NSATSTypesetter.h>
@implementation NSATSTypesetter
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -38,4 +38,14 @@ NSString *const NSAppearanceNameControlStrip =
@implementation NSAppearance
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -15,4 +15,15 @@
@end
@implementation NSCIImageRep
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -594,6 +594,14 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
_allowsMixedState = allow;
}
- (BOOL) allowsEditingTextAttributes {
return _allowsEditingTextAttributes;
}
- (void) setAllowsEditingTextAttributes: (BOOL) allow {
_allowsEditingTextAttributes = allow;
}
- (void) setTarget: target {
[NSException
raise: NSInternalInconsistencyException

View File

@ -20,4 +20,15 @@
#import <AppKit/NSClickGestureRecognizer.h>
@implementation NSClickGestureRecognizer
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -20,7 +20,29 @@
#import <AppKit/NSCustomTouchBarItem.h>
@implementation NSCustomTouchBarItem
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end
@implementation NSButtonGroupTouchBarItem
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -22,7 +22,29 @@
const NSDraggingImageComponentKey NSDraggingImageComponentIconKey = @"icon";
@implementation NSDraggingImageComponent
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end
@implementation NSDraggingItem
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -20,4 +20,15 @@
#import <AppKit/NSGestureRecognizer.h>
@implementation NSGestureRecognizer
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -20,4 +20,15 @@
#import <AppKit/NSGroupTouchBarItem.h>
@implementation NSGroupTouchBarItem
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -110,6 +110,8 @@ NSImageName const NSImageNameTouchBarPlayTemplate = @"NSTouchBarPlayTemplate";
NSImageName const NSImageNameTouchBarRecordStopTemplate =
@"NSTouchBarRecordStopTemplate";
NSImageHintKey const NSImageHintInterpolation = @"NSImageHintInterpolation";
// Private class used so the context knows the flipped status of a locked image
// 10.4 does something like that - probably for more than just getting the
// flippiness - 10.6 uses some special NSSnapshotBitmapGraphicsContext

View File

@ -2,4 +2,14 @@
@implementation NSMovieView
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -20,4 +20,15 @@
#import <AppKit/NSOpenGLLayer.h>
@implementation NSOpenGLLayer
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

15
AppKit/NSPageController.m Normal file
View File

@ -0,0 +1,15 @@
#import <AppKit/NSPageController.h>
@implementation NSPageController
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -20,4 +20,15 @@
#import <AppKit/NSPasteboardItem.h>
@implementation NSPasteboardItem
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -20,4 +20,15 @@
#import <AppKit/NSPopoverTouchBarItem.h>
@implementation NSPopoverTouchBarItem
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -2,4 +2,14 @@
@implementation NSPredicateEditor
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -21,4 +21,14 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
@implementation NSPrinter
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -2,4 +2,14 @@
@implementation NSRuleEditorButtonCell
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -2,4 +2,14 @@
@implementation NSRuleEditorViewSliceRow
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -1,4 +1,29 @@
#import <AppKit/NSSharingService.h>
@implementation NSSharingService
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end
@implementation NSSharingServicePicker
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -20,4 +20,15 @@
#import <AppKit/NSSpaceTouchBarItem.h>
@implementation NSSpaceTouchBarItem
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -22,4 +22,15 @@
NSString *const NSVoiceName = @"VoiceName";
@implementation NSSpeechSynthesizer
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -20,4 +20,15 @@
#import <AppKit/NSStackView.h>
@implementation NSStackView
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -20,4 +20,15 @@
#import <AppKit/NSTableCellView.h>
@implementation NSTableCellView
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -20,4 +20,15 @@
#import <AppKit/NSTableRowView.h>
@implementation NSTableRowView
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -59,6 +59,8 @@
NSString *const NSTextViewDidChangeSelectionNotification =
@"NSTextViewDidChangeSelectionNotification";
NSString *const NSOldSelectedCharacterRange = @"NSOldSelectedCharacterRange";
NSString *const NSAllRomanInputSourcesLocaleIdentifier =
@"NSAllRomanInputSourcesLocaleIdentifier";
@interface NSLayoutManager (NSLayoutManager_visualKeyboardMovement)
- (NSRange) _softLineRangeForCharacterAtIndex: (NSUInteger) location;

View File

@ -0,0 +1,15 @@
#import <AppKit/NSTitlebarAccessoryViewController.h>
@implementation NSTitlebarAccessoryViewController
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -1,4 +1,15 @@
#import "NSTokenAttachmentCell.h"
@implementation NSTokenAttachmentCell
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -20,4 +20,15 @@
#import <AppKit/NSTouchBar.h>
@implementation NSTouchBar
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -29,4 +29,15 @@ NSTouchBarItemIdentifier const NSTouchBarItemIdentifierOtherItemsProxy =
@"NSTouchBarItemIdentifierOtherItemsProxy";
@implementation NSTouchBarItem
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -20,4 +20,15 @@
#import <AppKit/NSTreeNode.h>
@implementation NSTreeNode
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -55,6 +55,9 @@ NSString *const NSViewFocusDidChangeNotification =
const NSNotificationName NSViewGlobalFrameDidChangeNotification =
@"NSViewGlobalFrameDidChangeNotification";
const NSViewFullScreenModeOptionKey NSFullScreenModeApplicationPresentationOptions =
@"NSFullScreenModeApplicationPresentationOptions";
@interface NSView (NSView_forward)
- (CGAffineTransform) transformFromWindow;
- (CGAffineTransform) transformToWindow;

View File

@ -2,4 +2,14 @@
@implementation NSViewBackingLayer
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -20,4 +20,15 @@
#import <AppKit/NSVisualEffectView.h>
@implementation NSVisualEffectView
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -84,6 +84,8 @@ const NSNotificationName NSWindowAnimatingNotification =
const NSNotificationName NSWindowDidAnimateNotification =
@"NSWindowDidAnimateNotification";
const NSNotificationName NSWindowDidChangeOcclusionStateNotification =
@"NSWindowDidChangeOcclusionStateNotification";
const NSNotificationName NSWindowDidChangeScreenNotification =
@"NSWindowDidChangeScreenNotification";
const NSNotificationName NSWindowDidEndSheetNotification =

View File

@ -41,10 +41,18 @@ NSString *const NSWorkspaceActiveSpaceDidChangeNotification =
@"NSWorkspaceActiveSpaceDidChangeNotification";
const NSNotificationName NSWorkspaceDidDeactivateApplicationNotification =
@"NSWorkspaceDidDeactivateApplicationNotification";
const NSNotificationName NSWorkspaceDidWakeNotification =
@"NSWorkspaceDidWakeNotification";
NSString *const NSWorkspaceDidLaunchApplicationNotification =
@"NSWorkspaceDidLaunchApplicationNotification";
NSString *const NSWorkspaceDidTerminateApplicationNotification =
@"NSWorkspaceDidTerminateApplicationNotification";
const NSNotificationName NSWorkspaceScreensDidSleepNotification =
@"NSWorkspaceScreensDidSleepNotification";
const NSNotificationName NSWorkspaceScreensDidWakeNotification =
@"NSWorkspaceScreensDidWakeNotification";
const NSNotificationName NSWorkspaceWillSleepNotification =
@"NSWorkspaceWillSleepNotification";
const NSNotificationName NSWorkspaceSessionDidBecomeActiveNotification =
@"NSWorkspaceSessionDidBecomeActiveNotification";
const NSNotificationName NSWorkspaceSessionDidResignActiveNotification =

View File

@ -2,4 +2,14 @@
@implementation _NSRuleEditorViewSliceHolder
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -113,6 +113,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <AppKit/NSOpenPanel.h>
#import <AppKit/NSOutlineView.h>
#import <AppKit/NSPDFImageRep.h>
#import <AppKit/NSPageController.h>
#import <AppKit/NSPageLayout.h>
#import <AppKit/NSPanel.h>
#import <AppKit/NSParagraphStyle.h>
@ -144,6 +145,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <AppKit/NSSegmentedCell.h>
#import <AppKit/NSSegmentedControl.h>
#import <AppKit/NSShadow.h>
#import <AppKit/NSSharingService.h>
#import <AppKit/NSSlider.h>
#import <AppKit/NSSliderCell.h>
#import <AppKit/NSSound.h>
@ -178,6 +180,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <AppKit/NSTextTable.h>
#import <AppKit/NSTextTableBlock.h>
#import <AppKit/NSTextView.h>
#import <AppKit/NSTitlebarAccessoryViewController.h>
#import <AppKit/NSTokenField.h>
#import <AppKit/NSTokenFieldCell.h>
#import <AppKit/NSToolbar.h>

View File

@ -124,6 +124,7 @@ enum {
BOOL _refusesFirstResponder;
BOOL _isContinuous;
BOOL _allowsMixedState;
BOOL _allowsEditingTextAttributes;
BOOL _sendsActionOnEndEditing;
BOOL _hasValidObjectValue;
BOOL _usesSingleLineMode;
@ -191,6 +192,8 @@ enum {
- (void) setNextState;
- (BOOL) allowsMixedState;
- (void) setAllowsMixedState: (BOOL) allow;
- (BOOL) allowsEditingTextAttributes;
- (void) setAllowsEditingTextAttributes: (BOOL) allow;
- (void) setTarget: target;
- (void) setAction: (SEL) action;

View File

@ -154,6 +154,7 @@ typedef enum {
@end
typedef NSString *NSImageName;
typedef NSString *NSImageHintKey;
APPKIT_EXPORT NSImageName const NSImageNameActionTemplate;
APPKIT_EXPORT NSImageName const NSImageNameAddTemplate;
@ -222,3 +223,5 @@ APPKIT_EXPORT NSImageName const NSImageNameTouchBarDeleteTemplate;
APPKIT_EXPORT NSImageName const NSImageNameTouchBarPauseTemplate;
APPKIT_EXPORT NSImageName const NSImageNameTouchBarPlayTemplate;
APPKIT_EXPORT NSImageName const NSImageNameTouchBarRecordStopTemplate;
APPKIT_EXPORT NSImageHintKey const NSImageHintInterpolation;

View File

@ -0,0 +1,6 @@
#import <Foundation/Foundation.h>
#import <AppKit/NSViewController.h>
@interface NSPageController : NSViewController
@end

View File

@ -22,5 +22,8 @@
@interface NSSharingService : NSObject
@end
@interface NSSharingServicePicker : NSObject
@end
// @interface NSItemProvider (NSCloudKitSharing)
// @end

View File

@ -63,6 +63,7 @@ typedef enum {
APPKIT_EXPORT NSString *const NSTextViewDidChangeSelectionNotification;
APPKIT_EXPORT NSString *const NSOldSelectedCharacterRange;
APPKIT_EXPORT NSString *const NSAllRomanInputSourcesLocaleIdentifier;
@class NSUndoTyping;

View File

@ -0,0 +1,6 @@
#import <AppKit/NSViewController.h>
#import <Foundation/Foundation.h>
@interface NSTitlebarAccessoryViewController : NSViewController
@end

View File

@ -34,6 +34,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
// Issues
typedef NSTrackingArea *NSTrackingRectTag;
typedef NSTrackingArea *NSToolTipTag;
typedef NSString *NSViewFullScreenModeOptionKey;
typedef NS_OPTIONS(NSUInteger, NSAutoresizingMaskOptions) {
NSViewNotSizable = 0x00,
@ -79,6 +80,8 @@ APPKIT_EXPORT const NSNotificationName NSViewBoundsDidChangeNotification;
APPKIT_EXPORT const NSNotificationName NSViewFocusDidChangeNotification;
APPKIT_EXPORT const NSNotificationName NSViewGlobalFrameDidChangeNotification;
APPKIT_EXPORT const NSViewFullScreenModeOptionKey NSFullScreenModeApplicationPresentationOptions;
@interface NSView : NSResponder <NSAnimatablePropertyContainer> {
NSRect _frame;
NSRect _bounds;

View File

@ -134,6 +134,7 @@ APPKIT_EXPORT const NSNotificationName NSWindowWillStartLiveResizeNotification;
APPKIT_EXPORT const NSNotificationName NSWindowDidEndLiveResizeNotification;
APPKIT_EXPORT const NSNotificationName NSWindowWillBeginSheetNotification;
APPKIT_EXPORT const NSNotificationName NSWindowDidChangeOcclusionStateNotification;
APPKIT_EXPORT const NSNotificationName NSWindowDidChangeScreenNotification;
APPKIT_EXPORT const NSNotificationName NSWindowDidEndSheetNotification;
APPKIT_EXPORT const NSNotificationName NSWindowDidEnterFullScreenNotification;

View File

@ -34,14 +34,15 @@ APPKIT_EXPORT NSString *const NSWorkspaceLaunchConfigurationEnvironment;
APPKIT_EXPORT NSString *const NSWorkspaceLaunchConfigurationArchitecture;
APPKIT_EXPORT NSString *const NSWorkspaceActiveSpaceDidChangeNotification;
APPKIT_EXPORT const NSNotificationName
NSWorkspaceDidDeactivateApplicationNotification;
APPKIT_EXPORT const NSNotificationName NSWorkspaceDidDeactivateApplicationNotification;
APPKIT_EXPORT const NSNotificationName NSWorkspaceDidWakeNotification;
APPKIT_EXPORT NSString *const NSWorkspaceDidLaunchApplicationNotification;
APPKIT_EXPORT NSString *const NSWorkspaceDidTerminateApplicationNotification;
APPKIT_EXPORT const NSNotificationName
NSWorkspaceSessionDidBecomeActiveNotification;
APPKIT_EXPORT const NSNotificationName
NSWorkspaceSessionDidResignActiveNotification;
APPKIT_EXPORT const NSNotificationName NSWorkspaceScreensDidSleepNotification;
APPKIT_EXPORT const NSNotificationName NSWorkspaceScreensDidWakeNotification;
APPKIT_EXPORT const NSNotificationName NSWorkspaceWillSleepNotification;
APPKIT_EXPORT const NSNotificationName NSWorkspaceSessionDidBecomeActiveNotification;
APPKIT_EXPORT const NSNotificationName NSWorkspaceSessionDidResignActiveNotification;
typedef NSUInteger NSWorkspaceIconCreationOptions;