1 | --- framework/src/objc/DummyProtocolHandler.m.orig Fri Feb 27 17:24:00 2004 |
---|
2 | +++ framework/src/objc/DummyProtocolHandler.m Fri Feb 27 17:24:19 2004 |
---|
3 | @@ -1,6 +1,6 @@ |
---|
4 | /** -*-objc-*- |
---|
5 | * |
---|
6 | - * $Id: DummyProtocolHandler.m,v 1.2 2002/12/12 07:05:15 hisa Exp $ |
---|
7 | + * $Id: DummyProtocolHandler.m.erb,v 1.2 2002/12/12 07:05:15 hisa Exp $ |
---|
8 | * |
---|
9 | * Copyright (c) 2001 FUJIMOTO Hisakuni <hisa@imasy.or.jp> |
---|
10 | * |
---|
11 | @@ -74,23 +74,52 @@ |
---|
12 | /**** NSGeometry.h ****/ |
---|
13 | /**** NSKeyValueCoding.h ****/ |
---|
14 | // @interface NSObject ( NSKeyValueCoding ) |
---|
15 | ++ ( BOOL ) accessInstanceVariablesDirectly { return NO; } |
---|
16 | - ( id ) valueForKey : ( NSString * ) key { return nil; } |
---|
17 | -- ( void ) takeValue : ( id ) value forKey : ( NSString * ) key { } |
---|
18 | +- ( void ) setValue : ( id ) value forKey : ( NSString * ) key { } |
---|
19 | +- ( BOOL ) validateValue : ( id * ) ioValue forKey : ( NSString * ) inKey error : ( NSError * * ) outError { return NO; } |
---|
20 | +- ( NSMutableArray * ) mutableArrayValueForKey : ( NSString * ) key { return nil; } |
---|
21 | +- ( id ) valueForKeyPath : ( NSString * ) keyPath { return nil; } |
---|
22 | +- ( void ) setValue : ( id ) value forKeyPath : ( NSString * ) keyPath { } |
---|
23 | +- ( BOOL ) validateValue : ( id * ) ioValue forKeyPath : ( NSString * ) inKeyPath error : ( NSError * * ) outError { return NO; } |
---|
24 | +- ( NSMutableArray * ) mutableArrayValueForKeyPath : ( NSString * ) keyPath { return nil; } |
---|
25 | +- ( id ) valueForUndefinedKey : ( NSString * ) key { return nil; } |
---|
26 | +- ( void ) setValue : ( id ) value forUndefinedKey : ( NSString * ) key { } |
---|
27 | +- ( void ) setNilValueForKey : ( NSString * ) key { } |
---|
28 | +- ( NSDictionary * ) dictionaryWithValuesForKeys : ( NSArray * ) keys { return nil; } |
---|
29 | +- ( void ) setValuesForKeysWithDictionary : ( NSDictionary * ) keyedValues { } |
---|
30 | ++ ( BOOL ) useStoredAccessor { return NO; } |
---|
31 | - ( id ) storedValueForKey : ( NSString * ) key { return nil; } |
---|
32 | - ( void ) takeStoredValue : ( id ) value forKey : ( NSString * ) key { } |
---|
33 | -+ ( BOOL ) accessInstanceVariablesDirectly { return NO; } |
---|
34 | -+ ( BOOL ) useStoredAccessor { return NO; } |
---|
35 | |
---|
36 | -// @interface NSObject ( NSKeyValueCodingExtras ) |
---|
37 | -- ( id ) valueForKeyPath : ( NSString * ) key { return nil; } |
---|
38 | -- ( void ) takeValue : ( id ) value forKeyPath : ( NSString * ) key { } |
---|
39 | -- ( NSDictionary * ) valuesForKeys : ( NSArray * ) keys { return nil; } |
---|
40 | -- ( void ) takeValuesFromDictionary : ( NSDictionary * ) dictionary { } |
---|
41 | - |
---|
42 | -// @interface NSObject ( NSKeyValueCodingException ) |
---|
43 | +// @interface NSObject ( NSDeprecatedKeyValueCoding ) |
---|
44 | +- ( void ) takeValue : ( id ) value forKey : ( NSString * ) key { } |
---|
45 | +- ( void ) takeValue : ( id ) value forKeyPath : ( NSString * ) keyPath { } |
---|
46 | - ( id ) handleQueryWithUnboundKey : ( NSString * ) key { return nil; } |
---|
47 | - ( void ) handleTakeValue : ( id ) value forUnboundKey : ( NSString * ) key { } |
---|
48 | - ( void ) unableToSetNilForKey : ( NSString * ) key { } |
---|
49 | +- ( NSDictionary * ) valuesForKeys : ( NSArray * ) keys { return nil; } |
---|
50 | +- ( void ) takeValuesFromDictionary : ( NSDictionary * ) properties { } |
---|
51 | + |
---|
52 | +/**** NSKeyValueObserving.h ****/ |
---|
53 | +// @interface NSObject ( NSKeyValueObserving ) |
---|
54 | +- ( void ) observeValueForKeyPath : ( NSString * ) keyPath ofObject : ( id ) object change : ( NSDictionary * ) change context : ( void * ) context { } |
---|
55 | + |
---|
56 | +// @interface NSObject ( NSKeyValueObserverRegistration ) |
---|
57 | +- ( void ) addObserver : ( NSObject * ) observer forKeyPath : ( NSString * ) keyPath options : ( NSKeyValueObservingOptions ) options context : ( void * ) context { } |
---|
58 | +- ( void ) removeObserver : ( NSObject * ) observer forKeyPath : ( NSString * ) keyPath { } |
---|
59 | + |
---|
60 | +// @interface NSObject ( NSKeyValueObserverNotification ) |
---|
61 | +- ( void ) willChangeValueForKey : ( NSString * ) key { } |
---|
62 | +- ( void ) didChangeValueForKey : ( NSString * ) key { } |
---|
63 | +- ( void ) willChange : ( NSKeyValueChange ) change valuesAtIndexes : ( NSIndexSet * ) indexes forKey : ( NSString * ) key { } |
---|
64 | +- ( void ) didChange : ( NSKeyValueChange ) change valuesAtIndexes : ( NSIndexSet * ) indexes forKey : ( NSString * ) key { } |
---|
65 | + |
---|
66 | +// @interface NSObject ( NSKeyValueObservingCustomization ) |
---|
67 | ++ ( BOOL ) automaticallyNotifiesObserversForKey : ( NSString * ) key { return NO; } |
---|
68 | ++ ( void ) setKeys : ( NSArray * ) keys triggerChangeNotificationsForDependentKey : ( NSString * ) dependentKey { } |
---|
69 | +- ( void ) setObservationInfo : ( void * ) observationInfo { } |
---|
70 | +- ( void * ) observationInfo { return nil; } |
---|
71 | |
---|
72 | /**** NSKeyedArchiver.h ****/ |
---|
73 | // @interface NSObject ( NSKeyedArchiverDelegate ) |
---|
74 | @@ -157,12 +186,18 @@ |
---|
75 | |
---|
76 | /**** NSScanner.h ****/ |
---|
77 | /**** NSSet.h ****/ |
---|
78 | +/**** NSSortDescriptor.h ****/ |
---|
79 | /**** NSSpellServer.h ****/ |
---|
80 | // @interface NSObject ( NSSpellServerDelegate ) |
---|
81 | - ( NSRange ) spellServer : ( NSSpellServer * ) sender findMisspelledWordInString : ( NSString * ) stringToCheck language : ( NSString * ) language wordCount : ( int * ) wordCount countOnly : ( BOOL ) countOnly { NSRange r = {0,0}; return r; } |
---|
82 | - ( NSArray * ) spellServer : ( NSSpellServer * ) sender suggestGuessesForWord : ( NSString * ) word inLanguage : ( NSString * ) language { return nil; } |
---|
83 | - ( void ) spellServer : ( NSSpellServer * ) sender didLearnWord : ( NSString * ) word inLanguage : ( NSString * ) language { } |
---|
84 | - ( void ) spellServer : ( NSSpellServer * ) sender didForgetWord : ( NSString * ) word inLanguage : ( NSString * ) language { } |
---|
85 | +- ( NSArray * ) spellServer : ( NSSpellServer * ) sender suggestCompletionsForPartialWordRange : ( NSRange ) range inString : ( NSString * ) string language : ( NSString * ) language { return nil; } |
---|
86 | + |
---|
87 | +/**** NSStream.h ****/ |
---|
88 | +// @interface NSObject ( NSStreamDelegateEventExtensions ) |
---|
89 | +- ( void ) stream : ( NSStream * ) aStream handleEvent : ( NSStreamEvent ) eventCode { } |
---|
90 | |
---|
91 | /**** NSString.h ****/ |
---|
92 | /**** NSTask.h ****/ |
---|
93 | @@ -180,6 +215,29 @@ |
---|
94 | - ( void ) URL : ( NSURL * ) sender resourceDidFailLoadingWithReason : ( NSString * ) reason { } |
---|
95 | |
---|
96 | /**** NSValue.h ****/ |
---|
97 | +/**** NSXMLParser.h ****/ |
---|
98 | +// @interface NSObject ( NSXMLParserDelegateEventAdditions ) |
---|
99 | +- ( void ) parserDidStartDocument : ( NSXMLParser * ) parser { } |
---|
100 | +- ( void ) parserDidEndDocument : ( NSXMLParser * ) parser { } |
---|
101 | +- ( void ) parser : ( NSXMLParser * ) parser foundNotationDeclarationWithName : ( NSString * ) name publicID : ( NSString * ) publicID systemID : ( NSString * ) systemID { } |
---|
102 | +- ( void ) parser : ( NSXMLParser * ) parser foundUnparsedEntityDeclarationWithName : ( NSString * ) name publicID : ( NSString * ) publicID systemID : ( NSString * ) systemID notationName : ( NSString * ) notationName { } |
---|
103 | +- ( void ) parser : ( NSXMLParser * ) parser foundAttributeDeclarationWithName : ( NSString * ) attributeName forElement : ( NSString * ) elementName type : ( NSString * ) type defaultValue : ( NSString * ) defaultValue { } |
---|
104 | +- ( void ) parser : ( NSXMLParser * ) parser foundElementDeclarationWithName : ( NSString * ) elementName model : ( NSString * ) model { } |
---|
105 | +- ( void ) parser : ( NSXMLParser * ) parser foundInternalEntityDeclarationWithName : ( NSString * ) name value : ( NSString * ) value { } |
---|
106 | +- ( void ) parser : ( NSXMLParser * ) parser foundExternalEntityDeclarationWithName : ( NSString * ) name publicID : ( NSString * ) publicID systemID : ( NSString * ) systemID { } |
---|
107 | +- ( void ) parser : ( NSXMLParser * ) parser didStartElement : ( NSString * ) elementName namespaceURI : ( NSString * ) namespaceURI qualifiedName : ( NSString * ) qName attributes : ( NSDictionary * ) attributeDict { } |
---|
108 | +- ( void ) parser : ( NSXMLParser * ) parser didEndElement : ( NSString * ) elementName namespaceURI : ( NSString * ) namespaceURI qualifiedName : ( NSString * ) qName { } |
---|
109 | +- ( void ) parser : ( NSXMLParser * ) parser didStartMappingPrefix : ( NSString * ) prefix toURI : ( NSString * ) namespaceURI { } |
---|
110 | +- ( void ) parser : ( NSXMLParser * ) parser didEndMappingPrefix : ( NSString * ) prefix { } |
---|
111 | +- ( void ) parser : ( NSXMLParser * ) parser foundCharacters : ( NSString * ) string { } |
---|
112 | +- ( void ) parser : ( NSXMLParser * ) parser foundIgnorableWhitespace : ( NSString * ) whitespaceString { } |
---|
113 | +- ( void ) parser : ( NSXMLParser * ) parser foundProcessingInstructionWithTarget : ( NSString * ) target data : ( NSString * ) data { } |
---|
114 | +- ( void ) parser : ( NSXMLParser * ) parser foundComment : ( NSString * ) comment { } |
---|
115 | +- ( void ) parser : ( NSXMLParser * ) parser foundCDATA : ( NSData * ) CDATABlock { } |
---|
116 | +- ( NSData * ) parser : ( NSXMLParser * ) parser resolveExternalEntityName : ( NSString * ) name systemID : ( NSString * ) systemID { return nil; } |
---|
117 | +- ( void ) parser : ( NSXMLParser * ) parser parseErrorOccurred : ( NSError * ) parseError { } |
---|
118 | +- ( void ) parser : ( NSXMLParser * ) parser validationErrorOccurred : ( NSError * ) validationError { } |
---|
119 | + |
---|
120 | /**** NSObjectScripting.h ****/ |
---|
121 | // @interface NSObject ( NSScripting ) |
---|
122 | - ( NSDictionary * ) scriptingProperties { return nil; } |
---|
123 | @@ -228,8 +286,55 @@ |
---|
124 | - ( BOOL ) scriptingEndsWith : ( id ) object { return NO; } |
---|
125 | - ( BOOL ) scriptingContains : ( id ) object { return NO; } |
---|
126 | |
---|
127 | +/**** NSURLConnection.h ****/ |
---|
128 | +// @interface NSObject ( NSURLConnectionDelegate ) |
---|
129 | +# 216 |
---|
130 | +- ( NSURLRequest * ) connection : ( NSURLConnection * ) connection willSendRequest : ( NSURLRequest * ) request redirectResponse : ( NSURLResponse * ) response { return nil; } |
---|
131 | +- ( void ) connection : ( NSURLConnection * ) connection didReceiveAuthenticationChallenge : ( NSURLAuthenticationChallenge * ) challenge { } |
---|
132 | +- ( void ) connection : ( NSURLConnection * ) connection didCancelAuthenticationChallenge : ( NSURLAuthenticationChallenge * ) challenge { } |
---|
133 | +- ( void ) connection : ( NSURLConnection * ) connection didReceiveResponse : ( NSURLResponse * ) response { } |
---|
134 | +# 272 |
---|
135 | +- ( void ) connection : ( NSURLConnection * ) connection didReceiveData : ( NSData * ) data { } |
---|
136 | +- ( void ) connectionDidFinishLoading : ( NSURLConnection * ) connection { } |
---|
137 | +- ( void ) connection : ( NSURLConnection * ) connection didFailWithError : ( NSError * ) error { } |
---|
138 | +- ( NSCachedURLResponse * ) connection : ( NSURLConnection * ) connection willCacheResponse : ( NSCachedURLResponse * ) cachedResponse { return nil; } |
---|
139 | + |
---|
140 | +/**** NSURLRequest.h ****/ |
---|
141 | +/**** NSURLDownload.h ****/ |
---|
142 | +// @interface NSObject ( NSURLDownloadDelegate ) |
---|
143 | +- ( void ) downloadDidBegin : ( NSURLDownload * ) download { } |
---|
144 | +- ( NSURLRequest * ) download : ( NSURLDownload * ) download willSendRequest : ( NSURLRequest * ) request redirectResponse : ( NSURLResponse * ) redirectResponse { return nil; } |
---|
145 | +- ( void ) download : ( NSURLDownload * ) download didReceiveAuthenticationChallenge : ( NSURLAuthenticationChallenge * ) challenge { } |
---|
146 | +- ( void ) download : ( NSURLDownload * ) download didCancelAuthenticationChallenge : ( NSURLAuthenticationChallenge * ) challenge { } |
---|
147 | +- ( void ) download : ( NSURLDownload * ) download didReceiveResponse : ( NSURLResponse * ) response { } |
---|
148 | +- ( void ) download : ( NSURLDownload * ) download didReceiveDataOfLength : ( unsigned ) length { } |
---|
149 | +- ( BOOL ) download : ( NSURLDownload * ) download shouldDecodeSourceDataOfMIMEType : ( NSString * ) encodingType { return NO; } |
---|
150 | +- ( void ) download : ( NSURLDownload * ) download decideDestinationWithSuggestedFilename : ( NSString * ) filename { } |
---|
151 | +- ( void ) download : ( NSURLDownload * ) download didCreateDestination : ( NSString * ) path { } |
---|
152 | +- ( void ) downloadDidFinish : ( NSURLDownload * ) download { } |
---|
153 | +- ( void ) download : ( NSURLDownload * ) download didFailWithError : ( NSError * ) error { } |
---|
154 | + |
---|
155 | /**** NSSerialization.h ****/ |
---|
156 | /**** NSGraphicsContext.h ****/ |
---|
157 | +/**** NSAccessibility.h ****/ |
---|
158 | +// @interface NSObject ( NSAccessibility ) |
---|
159 | +- ( NSArray * ) accessibilityAttributeNames { return nil; } |
---|
160 | +- ( id ) accessibilityAttributeValue : ( NSString * ) attribute { return nil; } |
---|
161 | +- ( BOOL ) accessibilityIsAttributeSettable : ( NSString * ) attribute { return NO; } |
---|
162 | +- ( void ) accessibilitySetValue : ( id ) value forAttribute : ( NSString * ) attribute { } |
---|
163 | +- ( NSArray * ) accessibilityParameterizedAttributeNames { return nil; } |
---|
164 | +- ( id ) accessibilityAttributeValue : ( NSString * ) attribute forParameter : ( id ) parameter { return nil; } |
---|
165 | +- ( NSArray * ) accessibilityActionNames { return nil; } |
---|
166 | +- ( NSString * ) accessibilityActionDescription : ( NSString * ) action { return nil; } |
---|
167 | +- ( void ) accessibilityPerformAction : ( NSString * ) action { } |
---|
168 | +- ( BOOL ) accessibilityIsIgnored { return NO; } |
---|
169 | +- ( id ) accessibilityHitTest : ( NSPoint ) point { return nil; } |
---|
170 | +- ( id ) accessibilityFocusedUIElement { return nil; } |
---|
171 | + |
---|
172 | +/**** NSAlert.h ****/ |
---|
173 | +// @interface NSObject ( NSAlertDelegate ) |
---|
174 | +- ( BOOL ) alertShowHelp : ( NSAlert * ) alert { return NO; } |
---|
175 | + |
---|
176 | /**** NSAppleScriptExtensions.h ****/ |
---|
177 | /**** NSApplication.h ****/ |
---|
178 | // @interface NSObject ( NSApplicationNotifications ) |
---|
179 | @@ -251,11 +356,13 @@ |
---|
180 | // @interface NSObject ( NSApplicationDelegate ) |
---|
181 | - ( NSApplicationTerminateReply ) applicationShouldTerminate : ( NSApplication * ) sender { return (NSApplicationTerminateReply)0; } |
---|
182 | - ( BOOL ) application : ( NSApplication * ) sender openFile : ( NSString * ) filename { return NO; } |
---|
183 | +- ( void ) application : ( NSApplication * ) sender openFiles : ( NSArray * ) filenames { } |
---|
184 | - ( BOOL ) application : ( NSApplication * ) sender openTempFile : ( NSString * ) filename { return NO; } |
---|
185 | - ( BOOL ) applicationShouldOpenUntitledFile : ( NSApplication * ) sender { return NO; } |
---|
186 | - ( BOOL ) applicationOpenUntitledFile : ( NSApplication * ) sender { return NO; } |
---|
187 | - ( BOOL ) application : ( id ) sender openFileWithoutUI : ( NSString * ) filename { return NO; } |
---|
188 | - ( BOOL ) application : ( NSApplication * ) sender printFile : ( NSString * ) filename { return NO; } |
---|
189 | +- ( void ) application : ( NSApplication * ) sender printFiles : ( NSArray * ) filenames { } |
---|
190 | - ( BOOL ) applicationShouldTerminateAfterLastWindowClosed : ( NSApplication * ) sender { return NO; } |
---|
191 | - ( BOOL ) applicationShouldHandleReopen : ( NSApplication * ) sender hasVisibleWindows : ( BOOL ) flag { return NO; } |
---|
192 | - ( NSMenu * ) applicationDockMenu : ( NSApplication * ) sender { return nil; } |
---|
193 | @@ -282,6 +389,7 @@ |
---|
194 | - ( void ) control : ( NSControl * ) control didFailToValidatePartialString : ( NSString * ) string errorDescription : ( NSString * ) error { } |
---|
195 | - ( BOOL ) control : ( NSControl * ) control isValidObject : ( id ) obj { return NO; } |
---|
196 | - ( BOOL ) control : ( NSControl * ) control textView : ( NSTextView * ) textView doCommandBySelector : ( SEL ) commandSelector { return NO; } |
---|
197 | +- ( NSArray * ) control : ( NSControl * ) control textView : ( NSTextView * ) textView completions : ( NSArray * ) words forPartialWordRange : ( NSRange ) charRange indexOfSelectedItem : ( int * ) index { return nil; } |
---|
198 | |
---|
199 | /**** NSFontManager.h ****/ |
---|
200 | // @interface NSObject ( NSFontManagerDelegate ) |
---|
201 | @@ -290,12 +398,22 @@ |
---|
202 | // @interface NSObject ( NSFontManagerResponderMethod ) |
---|
203 | - ( void ) changeFont : ( id ) sender { } |
---|
204 | |
---|
205 | +/**** NSFontPanel.h ****/ |
---|
206 | +// @interface NSObject ( NSFontPanelValidationAdditions ) |
---|
207 | +- ( unsigned int ) validModesForFontPanel : ( NSFontPanel * ) fontPanel { return (unsigned int)0; } |
---|
208 | + |
---|
209 | /**** NSFormCell.h ****/ |
---|
210 | /**** NSMatrix.h ****/ |
---|
211 | /**** NSMenu.h ****/ |
---|
212 | // @interface NSObject ( NSMenuValidation ) |
---|
213 | - ( BOOL ) validateMenuItem : ( id < NSMenuItem > ) menuItem { return NO; } |
---|
214 | |
---|
215 | +// @interface NSObject ( NSMenuDelegate ) |
---|
216 | +- ( void ) menuNeedsUpdate : ( NSMenu * ) menu { } |
---|
217 | +- ( int ) numberOfItemsInMenu : ( NSMenu * ) menu { return (int)0; } |
---|
218 | +- ( BOOL ) menu : ( NSMenu * ) menu updateItem : ( NSMenuItem * ) item atIndex : ( int ) index shouldCancel : ( BOOL ) shouldCancel { return NO; } |
---|
219 | +- ( BOOL ) menuHasKeyEquivalent : ( NSMenu * ) menu forEvent : ( NSEvent * ) event target : ( id * ) target action : ( SEL * ) action { return NO; } |
---|
220 | + |
---|
221 | /**** NSColor.h ****/ |
---|
222 | /**** NSBitmapImageRep.h ****/ |
---|
223 | /**** NSBrowser.h ****/ |
---|
224 | @@ -309,6 +427,9 @@ |
---|
225 | - ( BOOL ) browser : ( NSBrowser * ) sender isColumnValid : ( int ) column { return NO; } |
---|
226 | - ( void ) browserWillScroll : ( NSBrowser * ) sender { } |
---|
227 | - ( void ) browserDidScroll : ( NSBrowser * ) sender { } |
---|
228 | +- ( float ) browser : ( NSBrowser * ) browser shouldSizeColumn : ( int ) columnIndex forUserResize : ( BOOL ) forUserResize toWidth : ( float ) suggestedWidth { return (float)0; } |
---|
229 | +- ( float ) browser : ( NSBrowser * ) browser sizeToFitWidthOfColumn : ( int ) columnIndex { return (float)0; } |
---|
230 | +- ( void ) browserColumnConfigurationDidChange : ( NSNotification * ) notification { } |
---|
231 | |
---|
232 | /**** NSColorPanel.h ****/ |
---|
233 | // @interface NSObject ( NSColorPanelResponderMethod ) |
---|
234 | @@ -346,6 +467,16 @@ |
---|
235 | // @interface NSObject ( NSNibAwaking ) |
---|
236 | - ( void ) awakeFromNib { } |
---|
237 | |
---|
238 | +/**** NSSpeechRecognizer.h ****/ |
---|
239 | +// @interface NSObject ( NSSpeechRecognizerDelegate ) |
---|
240 | +- ( void ) speechRecognizer : ( NSSpeechRecognizer * ) sender didRecognizeCommand : ( id ) command { } |
---|
241 | + |
---|
242 | +/**** NSSpeechSynthesizer.h ****/ |
---|
243 | +// @interface NSObject ( NSSpeechSynthesizerDelegate ) |
---|
244 | +- ( void ) speechSynthesizer : ( NSSpeechSynthesizer * ) sender didFinishSpeaking : ( BOOL ) finishedSpeaking { } |
---|
245 | +- ( void ) speechSynthesizer : ( NSSpeechSynthesizer * ) sender willSpeakWord : ( NSRange ) characterRange ofString : ( NSString * ) string { } |
---|
246 | +- ( void ) speechSynthesizer : ( NSSpeechSynthesizer * ) sender willSpeakPhoneme : ( short ) phonemeOpcode { } |
---|
247 | + |
---|
248 | /**** NSSplitView.h ****/ |
---|
249 | // @interface NSObject ( NSSplitViewDelegate ) |
---|
250 | - ( void ) splitView : ( NSSplitView * ) sender resizeSubviewsWithOldSize : ( NSSize ) oldSize { } |
---|
251 | @@ -356,6 +487,7 @@ |
---|
252 | - ( BOOL ) splitView : ( NSSplitView * ) sender canCollapseSubview : ( NSView * ) subview { return NO; } |
---|
253 | - ( float ) splitView : ( NSSplitView * ) splitView constrainSplitPosition : ( float ) proposedPosition ofSubviewAt : ( int ) index { return (float)0; } |
---|
254 | |
---|
255 | +/**** NSOpenPanel.h ****/ |
---|
256 | /**** NSPageLayout.h ****/ |
---|
257 | /**** NSPasteboard.h ****/ |
---|
258 | // @interface NSObject ( NSPasteboardOwner ) |
---|
259 | @@ -365,11 +497,13 @@ |
---|
260 | /**** NSResponder.h ****/ |
---|
261 | /**** NSSavePanel.h ****/ |
---|
262 | // @interface NSObject ( NSSavePanelDelegate ) |
---|
263 | -- ( NSString * ) panel : ( id ) sender userEnteredFilename : ( NSString * ) filename confirmed : ( BOOL ) okFlag { return nil; } |
---|
264 | -- ( BOOL ) panel : ( id ) sender isValidFilename : ( NSString * ) filename { return NO; } |
---|
265 | - ( BOOL ) panel : ( id ) sender shouldShowFilename : ( NSString * ) filename { return NO; } |
---|
266 | -- ( NSComparisonResult ) panel : ( id ) sender compareFilename : ( NSString * ) file1 with : ( NSString * ) file2 caseSensitive : ( BOOL ) caseSensitive { return (NSComparisonResult)0; } |
---|
267 | +- ( NSComparisonResult ) panel : ( id ) sender compareFilename : ( NSString * ) name1 with : ( NSString * ) name2 caseSensitive : ( BOOL ) caseSensitive { return (NSComparisonResult)0; } |
---|
268 | +- ( BOOL ) panel : ( id ) sender isValidFilename : ( NSString * ) filename { return NO; } |
---|
269 | +- ( NSString * ) panel : ( id ) sender userEnteredFilename : ( NSString * ) filename confirmed : ( BOOL ) okFlag { return nil; } |
---|
270 | - ( void ) panel : ( id ) sender willExpand : ( BOOL ) expanding { } |
---|
271 | +- ( void ) panel : ( id ) sender directoryDidChange : ( NSString * ) path { } |
---|
272 | +- ( void ) panelSelectionDidChange : ( id ) sender { } |
---|
273 | |
---|
274 | /**** NSScrollView.h ****/ |
---|
275 | /**** NSSlider.h ****/ |
---|
276 | @@ -413,6 +547,7 @@ |
---|
277 | - ( NSRect ) windowWillUseStandardFrame : ( NSWindow * ) window defaultFrame : ( NSRect ) newFrame { NSRect r = {{0.0,0.0},{0.0,0.0}}; return r; } |
---|
278 | - ( BOOL ) windowShouldZoom : ( NSWindow * ) window toFrame : ( NSRect ) newFrame { return NO; } |
---|
279 | - ( NSUndoManager * ) windowWillReturnUndoManager : ( NSWindow * ) window { return nil; } |
---|
280 | +- ( NSRect ) window : ( NSWindow * ) window willPositionSheet : ( NSWindow * ) sheet usingRect : ( NSRect ) rect { NSRect r = {{0.0,0.0},{0.0,0.0}}; return r; } |
---|
281 | |
---|
282 | /**** NSComboBox.h ****/ |
---|
283 | // @interface NSObject ( NSComboBoxDataSource ) |
---|
284 | @@ -455,6 +590,7 @@ |
---|
285 | - ( int ) numberOfRowsInTableView : ( NSTableView * ) tableView { return (int)0; } |
---|
286 | - ( id ) tableView : ( NSTableView * ) tableView objectValueForTableColumn : ( NSTableColumn * ) tableColumn row : ( int ) row { return nil; } |
---|
287 | - ( void ) tableView : ( NSTableView * ) tableView setObjectValue : ( id ) object forTableColumn : ( NSTableColumn * ) tableColumn row : ( int ) row { } |
---|
288 | +- ( void ) tableView : ( NSTableView * ) tableView sortDescriptorsDidChange : ( NSArray * ) oldDescriptors { } |
---|
289 | - ( BOOL ) tableView : ( NSTableView * ) tv writeRows : ( NSArray * ) rows toPasteboard : ( NSPasteboard * ) pboard { return NO; } |
---|
290 | - ( NSDragOperation ) tableView : ( NSTableView * ) tv validateDrop : ( id < NSDraggingInfo > ) info proposedRow : ( int ) row proposedDropOperation : ( NSTableViewDropOperation ) op { return (NSDragOperation)0; } |
---|
291 | - ( BOOL ) tableView : ( NSTableView * ) tv acceptDrop : ( id < NSDraggingInfo > ) info row : ( int ) row dropOperation : ( NSTableViewDropOperation ) op { return NO; } |
---|
292 | @@ -468,6 +604,7 @@ |
---|
293 | - ( void ) outlineView : ( NSOutlineView * ) outlineView setObjectValue : ( id ) object forTableColumn : ( NSTableColumn * ) tableColumn byItem : ( id ) item { } |
---|
294 | - ( id ) outlineView : ( NSOutlineView * ) outlineView itemForPersistentObject : ( id ) object { return nil; } |
---|
295 | - ( id ) outlineView : ( NSOutlineView * ) outlineView persistentObjectForItem : ( id ) item { return nil; } |
---|
296 | +- ( void ) outlineView : ( NSOutlineView * ) outlineView sortDescriptorsDidChange : ( NSArray * ) oldDescriptors { } |
---|
297 | - ( BOOL ) outlineView : ( NSOutlineView * ) olv writeItems : ( NSArray * ) items toPasteboard : ( NSPasteboard * ) pboard { return NO; } |
---|
298 | - ( NSDragOperation ) outlineView : ( NSOutlineView * ) olv validateDrop : ( id < NSDraggingInfo > ) info proposedItem : ( id ) item proposedChildIndex : ( int ) index { return (NSDragOperation)0; } |
---|
299 | - ( BOOL ) outlineView : ( NSOutlineView * ) olv acceptDrop : ( id < NSDraggingInfo > ) info item : ( id ) item childIndex : ( int ) index { return NO; } |
---|
300 | @@ -481,6 +618,9 @@ |
---|
301 | - ( BOOL ) outlineView : ( NSOutlineView * ) outlineView shouldExpandItem : ( id ) item { return NO; } |
---|
302 | - ( BOOL ) outlineView : ( NSOutlineView * ) outlineView shouldCollapseItem : ( id ) item { return NO; } |
---|
303 | - ( void ) outlineView : ( NSOutlineView * ) outlineView willDisplayOutlineCell : ( id ) cell forTableColumn : ( NSTableColumn * ) tableColumn item : ( id ) item { } |
---|
304 | +- ( void ) outlineView : ( NSOutlineView * ) outlineView mouseDownInHeaderOfTableColumn : ( NSTableColumn * ) tableColumn { } |
---|
305 | +- ( void ) outlineView : ( NSOutlineView * ) outlineView didClickTableColumn : ( NSTableColumn * ) tableColumn { } |
---|
306 | +- ( void ) outlineView : ( NSOutlineView * ) outlineView didDragTableColumn : ( NSTableColumn * ) tableColumn { } |
---|
307 | |
---|
308 | // @interface NSObject ( NSOutlineViewNotifications ) |
---|
309 | - ( void ) outlineViewSelectionDidChange : ( NSNotification * ) notification { } |
---|
310 | @@ -513,6 +653,9 @@ |
---|
311 | - ( BOOL ) textView : ( NSTextView * ) view writeCell : ( id < NSTextAttachmentCell > ) cell atIndex : ( unsigned ) charIndex toPasteboard : ( NSPasteboard * ) pboard type : ( NSString * ) type { return NO; } |
---|
312 | - ( NSRange ) textView : ( NSTextView * ) textView willChangeSelectionFromCharacterRange : ( NSRange ) oldSelectedCharRange toCharacterRange : ( NSRange ) newSelectedCharRange { NSRange r = {0,0}; return r; } |
---|
313 | - ( void ) textViewDidChangeSelection : ( NSNotification * ) notification { } |
---|
314 | +- ( void ) textViewDidChangeTypingAttributes : ( NSNotification * ) notification { } |
---|
315 | +- ( NSString * ) textView : ( NSTextView * ) textView willDisplayToolTip : ( NSString * ) tooltip forCharacterAtIndex : ( unsigned ) characterIndex { return nil; } |
---|
316 | +- ( NSArray * ) textView : ( NSTextView * ) textView completions : ( NSArray * ) words forPartialWordRange : ( NSRange ) charRange indexOfSelectedItem : ( int * ) index { return nil; } |
---|
317 | - ( BOOL ) textView : ( NSTextView * ) textView shouldChangeTextInRange : ( NSRange ) affectedCharRange replacementString : ( NSString * ) replacementString { return NO; } |
---|
318 | - ( BOOL ) textView : ( NSTextView * ) textView doCommandBySelector : ( SEL ) commandSelector { return NO; } |
---|
319 | - ( BOOL ) textView : ( NSTextView * ) textView clickedOnLink : ( id ) link { return NO; } |
---|
320 | @@ -560,6 +703,7 @@ |
---|
321 | - ( NSToolbarItem * ) toolbar : ( NSToolbar * ) toolbar itemForItemIdentifier : ( NSString * ) itemIdentifier willBeInsertedIntoToolbar : ( BOOL ) flag { return nil; } |
---|
322 | - ( NSArray * ) toolbarDefaultItemIdentifiers : ( NSToolbar * ) toolbar { return nil; } |
---|
323 | - ( NSArray * ) toolbarAllowedItemIdentifiers : ( NSToolbar * ) toolbar { return nil; } |
---|
324 | +- ( NSArray * ) toolbarSelectableItemIdentifiers : ( NSToolbar * ) toolbar { return nil; } |
---|
325 | |
---|
326 | // @interface NSObject ( NSToolbarNotifications ) |
---|
327 | - ( void ) toolbarWillAddItem : ( NSNotification * ) notification { } |
---|
328 | @@ -570,6 +714,27 @@ |
---|
329 | - ( BOOL ) validateToolbarItem : ( NSToolbarItem * ) theItem { return NO; } |
---|
330 | |
---|
331 | /**** NSWindowScripting.h ****/ |
---|
332 | +/**** NSATSTypesetter.h ****/ |
---|
333 | +/**** NSKeyValueBinding.h ****/ |
---|
334 | +// @interface NSObject ( NSKeyValueBindingCreation ) |
---|
335 | ++ ( void ) exposeBinding : ( NSString * ) binding { } |
---|
336 | +- ( NSArray * ) exposedBindings { return nil; } |
---|
337 | +- ( Class ) valueClassForBinding : ( NSString * ) binding { return nil; } |
---|
338 | +- ( void ) bind : ( NSString * ) binding toObject : ( id ) observable withKeyPath : ( NSString * ) keyPath options : ( NSDictionary * ) options { } |
---|
339 | +- ( void ) unbind : ( NSString * ) binding { } |
---|
340 | + |
---|
341 | +// @interface NSObject ( NSPlaceholders ) |
---|
342 | ++ ( void ) setDefaultPlaceholder : ( id ) placeholder forMarker : ( id ) marker withBinding : ( NSString * ) binding { } |
---|
343 | ++ ( id ) defaultPlaceholderForMarker : ( id ) marker withBinding : ( NSString * ) binding { return nil; } |
---|
344 | + |
---|
345 | +// @interface NSObject ( NSEditorRegistration ) |
---|
346 | +- ( void ) objectDidBeginEditing : ( id ) editor { } |
---|
347 | +- ( void ) objectDidEndEditing : ( id ) editor { } |
---|
348 | + |
---|
349 | +// @interface NSObject ( NSEditor ) |
---|
350 | +- ( void ) discardEditing { } |
---|
351 | +- ( BOOL ) commitEditing { return NO; } |
---|
352 | + |
---|
353 | |
---|
354 | |
---|
355 | @end |
---|