diff --git a/AppKit/CMakeLists.txt b/AppKit/CMakeLists.txt index 2f76ea13..578d9191 100644 --- a/AppKit/CMakeLists.txt +++ b/AppKit/CMakeLists.txt @@ -417,6 +417,9 @@ set(AppKit_sources NSMovie.m NSMovieView.m + + NSTextInput.m + NSInputManager.m ) set_source_files_properties(${AppKit_sources} LANGUAGE C) diff --git a/AppKit/NSColor.subproj/NSColor.m b/AppKit/NSColor.subproj/NSColor.m index 38c81b7c..fea2048c 100644 --- a/AppKit/NSColor.subproj/NSColor.m +++ b/AppKit/NSColor.subproj/NSColor.m @@ -34,6 +34,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ static int NSColor_ignoresAlpha = -1; +NSString *const NSSystemColorsDidChangeNotification = @"NSSystemColorsDidChangeNotification"; + @interface NSColor (private) - (NSString *) catalogName; - (NSString *) colorName; diff --git a/AppKit/NSInputManager.m b/AppKit/NSInputManager.m new file mode 100644 index 00000000..2e0c4c1f --- /dev/null +++ b/AppKit/NSInputManager.m @@ -0,0 +1,5 @@ +#import + +@implementation NSInputManager + +@end diff --git a/AppKit/NSPasteboard.m b/AppKit/NSPasteboard.m index 8da41308..7a4bf9d9 100644 --- a/AppKit/NSPasteboard.m +++ b/AppKit/NSPasteboard.m @@ -48,6 +48,7 @@ const NSPasteboardType NSTabularTextPboardType = @"NSTabularTextPboardType"; const NSPasteboardType NSTIFFPboardType = @"NSTIFFPboardType"; const NSPasteboardType NSURLPboardType = @"NSURLPboardType"; const NSPasteboardType NSHTMLPboardType = @"Apple HTML pasteboard type"; +const NSPasteboardType NSVCardPboardType = @"NSVCardPboardType"; const NSPasteboardType NSFilesPromisePboardType = @"Apple files promise pasteboard type"; diff --git a/AppKit/NSPrintInfo.m b/AppKit/NSPrintInfo.m index 374a8c24..5a566a96 100644 --- a/AppKit/NSPrintInfo.m +++ b/AppKit/NSPrintInfo.m @@ -57,6 +57,8 @@ NSString *const NSPrintHorizontallyCentered = @"NSPrintHorizontallyCentered"; NSString *const NSPrintVerticallyCentered = @"NSPrintVerticallyCentered"; NSString *const NSPrintHeaderAndFooter = @"NSPrintHeaderAndFooter"; +NSString *const NSPrintMustCollate = @"NSPrintMustCollate"; +NSString *const NSPrintSelectionOnly = @"NSPrintSelectionOnly"; const NSPrintingPaginationMode NSFitPagination = NSPrintingPaginationModeFit; const NSPrintingPaginationMode NSAutoPagination = diff --git a/AppKit/NSTextInput.m b/AppKit/NSTextInput.m new file mode 100644 index 00000000..46961298 --- /dev/null +++ b/AppKit/NSTextInput.m @@ -0,0 +1,7 @@ +#include + +NSString *const NSTextInputContextKeyboardSelectionDidChangeNotification = @"NSTextInputContextKeyboardSelectionDidChangeNotification"; + +@implementation NSTextInputContext + +@end diff --git a/AppKit/include/AppKit/NSColor.h b/AppKit/include/AppKit/NSColor.h index 8759caac..4ad8f3e0 100644 --- a/AppKit/include/AppKit/NSColor.h +++ b/AppKit/include/AppKit/NSColor.h @@ -21,6 +21,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #import #import +APPKIT_EXPORT NSString *const NSSystemColorsDidChangeNotification; + @class NSImage; @class NSPasteboard; diff --git a/AppKit/include/AppKit/NSInputManager.h b/AppKit/include/AppKit/NSInputManager.h new file mode 100644 index 00000000..26de83c3 --- /dev/null +++ b/AppKit/include/AppKit/NSInputManager.h @@ -0,0 +1,5 @@ +#import + +@interface NSInputManager : NSObject + +@end diff --git a/AppKit/include/AppKit/NSPasteboard.h b/AppKit/include/AppKit/NSPasteboard.h index 65d657c8..368c6227 100644 --- a/AppKit/include/AppKit/NSPasteboard.h +++ b/AppKit/include/AppKit/NSPasteboard.h @@ -53,6 +53,7 @@ APPKIT_EXPORT const NSPasteboardType NSTabularTextPboardType; APPKIT_EXPORT const NSPasteboardType NSTIFFPboardType; APPKIT_EXPORT const NSPasteboardType NSURLPboardType; APPKIT_EXPORT const NSPasteboardType NSHTMLPboardType; +APPKIT_EXPORT const NSPasteboardType NSVCardPboardType; APPKIT_EXPORT const NSPasteboardType NSFilesPromisePboardType; APPKIT_EXPORT const NSPasteboardType NSPasteboardNameDrag; diff --git a/AppKit/include/AppKit/NSPrintInfo.h b/AppKit/include/AppKit/NSPrintInfo.h index c24f6ab5..808c0dcd 100644 --- a/AppKit/include/AppKit/NSPrintInfo.h +++ b/AppKit/include/AppKit/NSPrintInfo.h @@ -71,6 +71,8 @@ APPKIT_EXPORT NSString *const NSPrintHorizontallyCentered; APPKIT_EXPORT NSString *const NSPrintVerticallyCentered; APPKIT_EXPORT NSString *const NSPrintHeaderAndFooter; +APPKIT_EXPORT NSString *const NSPrintMustCollate; +APPKIT_EXPORT NSString *const NSPrintSelectionOnly; @interface NSPrintInfo : NSObject { NSMutableDictionary *_attributes; diff --git a/AppKit/include/AppKit/NSTextInput.h b/AppKit/include/AppKit/NSTextInput.h index 8dcb9eea..c9dfd7c7 100644 --- a/AppKit/include/AppKit/NSTextInput.h +++ b/AppKit/include/AppKit/NSTextInput.h @@ -18,6 +18,14 @@ 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 #import +#import +#import + +APPKIT_EXPORT NSString *const NSTextInputContextKeyboardSelectionDidChangeNotification; + +@interface NSTextInputContext : NSObject + +@end @protocol NSTextInput - (NSRect) firstRectForCharacterRange: (NSRange) range;