Create include directories

This commit is contained in:
Andrew Hyatt 2017-08-07 23:33:12 -07:00
parent 5c69ad493d
commit 1c81808e25
401 changed files with 3113 additions and 153 deletions

View File

@ -1 +0,0 @@
../CoreText/KTFont.h

View File

@ -1 +0,0 @@
NSAnimation/NSAnimation.h

View File

@ -1 +0,0 @@
NSController/NSArrayController.h

View File

@ -1 +0,0 @@
NSCollectionView/NSCollectionView.h

View File

@ -1 +0,0 @@
NSColor.subproj/NSColor.h

View File

@ -1 +0,0 @@
NSColorPicker.subproj/NSColorPicker.h

View File

@ -1 +0,0 @@
NSController/NSController.h

View File

@ -1 +0,0 @@
NSController/NSDictionaryController.h

View File

@ -1 +0,0 @@
NSDrawer.subproj/NSDrawer.h

View File

@ -1 +0,0 @@
NSEvent.subproj/NSEvent.h

View File

@ -9,7 +9,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
// 01/08/2007 original - Dirk Theisen
#import "NSFileWrapper.h"
#import <AppKit/NSFileWrapper.h>
#import <Foundation/NSDebug.h>

View File

@ -6,7 +6,7 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import "NSGradient.h"
#import <AppKit/NSGradient.h>
#import <AppKit/NSBezierPath.h>
#import <AppKit/NSColor.h>
#import <AppKit/NSColorSpace.h>

View File

@ -1,91 +0,0 @@
/* Copyright (c) 2007 Johannes Fortmann
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <Foundation/NSObject.h>
#import <AppKit/AppKitExport.h>
@class NSDictionary, NSArray, NSString;
@interface NSObject (BindingSupport)
- (void)bind:(id)binding toObject:(id)destination withKeyPath:(NSString *)keyPath options:(NSDictionary *)options;
- (NSDictionary *)infoForBinding:(id)binding;
- (void)unbind:(id)binding;
+ (void)exposeBinding:(id)binding;
@end
@interface NSObject (InternalBindingSupport)
// returns a dictionary with the default options for the specified binding
// the dictionaries are stored on a per-class basis in defaultBindingOptions.plist
// the binding parameter is currently ignored
- (NSDictionary *)_defaultBindingOptionsForBinding:(NSString *)binding;
// return the class of a suitable binder for the respective binding
+ (Class)_binderClassForBinding:(id)binding;
// return the respective binder or nil if unbound
- (id)_binderForBinding:(id)binding;
// return a suitable binder for the binding. if create is NO, only returns a binder
// if the binding is actually in use
- (id)_binderForBinding:(id)binding create:(BOOL)create;
// return a key path suitable for KVO to replace the generic binding name
// e.g. "value" -> "color" on NSColorWell
- (id)_replacementKeyPathForBinding:(id)binding;
// returns all binders used by the object
- (NSArray *)_allUsedBinders;
// unbinds all bindings used; should be called in -dealloc
- (void)_unbindAllBindings;
// the currently set value is a placeholder and should be displayed accordingly
- (id)_setCurrentValueIsPlaceholder:(BOOL)isPlaceholder;
@end
@interface NSObject (NSEditor)
- (BOOL)commitEditing;
- (void)discardEditing;
@end
@interface NSObject (NSEditorRegistration)
- (void)objectDidBeginEditing:editor;
- (void)objectDidEndEditing:editor;
@end
APPKIT_EXPORT NSString *const NSObservedObjectKey;
APPKIT_EXPORT NSString *const NSObservedKeyPathKey;
APPKIT_EXPORT NSString *const NSOptionsKey;
// Binding option keys
APPKIT_EXPORT NSString *const NSNullPlaceholderBindingOption;
APPKIT_EXPORT NSString *const NSNoSelectionPlaceholderBindingOption;
APPKIT_EXPORT NSString *const NSMultipleValuesPlaceholderBindingOption;
APPKIT_EXPORT NSString *const NSCreatesSortDescriptorBindingOption;
APPKIT_EXPORT NSString *const NSRaisesForNotApplicableKeysBindingOption;
APPKIT_EXPORT NSString *const NSAllowsEditingMultipleValuesSelectionBindingOption;
APPKIT_EXPORT NSString *const NSValueTransformerNameBindingOption;
APPKIT_EXPORT NSString *const NSValueTransformerBindingOption;
APPKIT_EXPORT NSString *const NSConditionallySetsEnabledBindingOption;
APPKIT_EXPORT NSString *const NSConditionallySetsEditableBindingOption;
APPKIT_EXPORT NSString *const NSContinuouslyUpdatesValueBindingOption;
APPKIT_EXPORT NSString *const NSDisplayPatternBindingOption;
enum {
kNSBindingDebugLogLevel1 = 1,
kNSBindingDebugLogLevel2,
kNSBindingDebugLogLevel3
};
APPKIT_EXPORT void NSDetermineBindingDebugLoggingLevel();
APPKIT_EXPORT int NSBindingDebugLogLevel; // Defaults to 0 = no logging
#define NSBindingDebugLog(level, format, args...) \
NSDetermineBindingDebugLoggingLevel(); \
if(NSBindingDebugLogLevel >= level) \
NSLog(@"%d: %s line: %d | %@", level, __PRETTY_FUNCTION__, __LINE__, [NSString stringWithFormat:format, ##args])

View File

@ -0,0 +1 @@
../include/AppKit/NSObject+BindingSupport.h

View File

@ -1 +0,0 @@
NSTextView.subproj/NSLayoutManager.h

View File

@ -1 +0,0 @@
NSMenu.subproj/NSMenu.h

View File

@ -1 +0,0 @@
NSMenu.subproj/NSMenuItem.h

View File

@ -1 +0,0 @@
nib.subproj/NSNib.h

View File

@ -1 +0,0 @@
nib.subproj/NSNibConnector.h

View File

@ -1 +0,0 @@
nib.subproj/NSNibControlConnector.h

View File

@ -1 +0,0 @@
nib.subproj/NSNibLoading.h

View File

@ -1 +0,0 @@
nib.subproj/NSNibOutletConnector.h

View File

@ -1 +0,0 @@
NSKeyValueBinding/NSObject+BindingSupport.h

View File

@ -1 +0,0 @@
NSController/NSObjectController.h

View File

@ -1 +0,0 @@
NSOpenGL/NSOpenGL.h

View File

@ -1 +0,0 @@
NSSegmentedControl/NSSegmentedCell.h

View File

@ -1 +0,0 @@
NSSegmentedControl/NSSegmentedControl.h

View File

@ -1 +0,0 @@
NSTextTable/NSTextBlock.h

View File

@ -1 +0,0 @@
NSTextView.subproj/NSTextContainer.h

View File

@ -1 +0,0 @@
NSTextView.subproj/NSTextStorage.h

View File

@ -1 +0,0 @@
NSTextView.subproj/NSTextTab.h

View File

@ -1 +0,0 @@
NSTextTable/NSTextTable.h

View File

@ -1 +0,0 @@
NSTextTable/NSTextTableBlock.h

View File

@ -1 +0,0 @@
NSTextView.subproj/NSTextView.h

View File

@ -1 +0,0 @@
NSToolbar.subproj/NSToolbar.h

View File

@ -1 +0,0 @@
NSToolbar.subproj/NSToolbarItem.h

View File

@ -1 +0,0 @@
NSToolbar.subproj/NSToolbarItemGroup.h

View File

@ -1 +0,0 @@
NSController/NSTreeController.h

View File

@ -1 +0,0 @@
NSController/NSUserDefaultsController.h

View File

@ -1 +0,0 @@
NSAnimation/NSViewAnimation.h

0
AppKit/AppKit.h → AppKit/include/AppKit/AppKit.h Executable file → Normal file
View File

View File

View File

@ -0,0 +1 @@
../../../CoreText/include/CoreText/KTFont.h

View File

View File

View File

0
AppKit/NSBox.h → AppKit/include/AppKit/NSBox.h Executable file → Normal file
View File

View File

View File

0
AppKit/NSButton.h → AppKit/include/AppKit/NSButton.h Executable file → Normal file
View File

View File

View File

0
AppKit/NSCell.h → AppKit/include/AppKit/NSCell.h Executable file → Normal file
View File

View File

View File

View File

View File

View File

View File

View File

View File

0
AppKit/NSCursor.h → AppKit/include/AppKit/NSCursor.h Executable file → Normal file
View File

View File

View File

View File

View File

View File

View File

View File

0
AppKit/NSFont.h → AppKit/include/AppKit/NSFont.h Executable file → Normal file
View File

View File

View File

0
AppKit/NSForm.h → AppKit/include/AppKit/NSForm.h Executable file → Normal file
View File

View File

View File

Some files were not shown because too many files have changed in this diff Show More