mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
MacOS-X compatibility updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26598 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
af1b3c2607
commit
ec0b3ab41a
42 changed files with 827 additions and 13 deletions
|
@ -47,6 +47,12 @@ extern "C" {
|
|||
@class NSMutableArray;
|
||||
@class NSMutableDictionary;
|
||||
|
||||
#if OS_API_VERSION(100500,GS_API_LATEST)
|
||||
GS_EXPORT NSString *const NSGrammarCorrections;
|
||||
GS_EXPORT NSString *const NSGrammarRange;
|
||||
GS_EXPORT NSString *const NSGrammarUserDescription;
|
||||
#endif
|
||||
|
||||
@interface NSSpellServer : NSObject
|
||||
{
|
||||
@private
|
||||
|
@ -126,6 +132,24 @@ findMisspelledWordInString: (NSString *)stringToCheck
|
|||
- (void) spellServer: (NSSpellServer *)sender
|
||||
didForgetWord: (NSString *)word
|
||||
inLanguage: (NSString *)language;
|
||||
|
||||
#if OS_API_VERSION(100300,GS_API_LATEST)
|
||||
/** Not implemented */
|
||||
- (NSArray *) spellServer: (NSSpellServer *)sender
|
||||
suggestCompletionsForPartialWordRange: (NSRange)range
|
||||
inString: (NSString *)string
|
||||
language: (NSString *)language;
|
||||
#endif
|
||||
|
||||
#if OS_API_VERSION(100500,GS_API_LATEST)
|
||||
/** Not implemented */
|
||||
- (NSRange) spellServer: (NSSpellServer *)sender
|
||||
checkGrammarInString: (NSString *)stringToCheck
|
||||
language: (NSString *)language
|
||||
details: (NSArray **)details;
|
||||
|
||||
#endif
|
||||
|
||||
@end
|
||||
|
||||
#if defined(__cplusplus)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue