mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Skeletal implementation of new characterset and screen methods.
This commit is contained in:
parent
0a77ddb0d2
commit
41f4fa411a
4 changed files with 67 additions and 0 deletions
|
@ -98,6 +98,36 @@ extern "C" {
|
|||
* 0x000A and 0x000D and nextline 0x0085 character.
|
||||
*/
|
||||
+ (id) newlineCharacterSet;
|
||||
|
||||
/**
|
||||
* Returns allowed characers for URL fragment component.
|
||||
*/
|
||||
+ (id) URLFragmentAllowedCharacterSet;
|
||||
|
||||
/**
|
||||
* Returns allowed characers for URL host component.
|
||||
*/
|
||||
+ (id) URLFragmentAllowedCharacterSet;
|
||||
|
||||
/**
|
||||
* Returns allowed characers for URL password component.
|
||||
*/
|
||||
+ (id) URLPasswordAllowedCharacterSet;
|
||||
|
||||
/**
|
||||
* Returns allowed characers for URL path component.
|
||||
*/
|
||||
+ (id) URLPathAllowedCharacterSet;
|
||||
|
||||
/**
|
||||
* Returns allowed characers for URL query component.
|
||||
*/
|
||||
+ (id) URLQueryAllowedCharacterSet;
|
||||
|
||||
/**
|
||||
* Returns allowed characers for URL USER component.
|
||||
*/
|
||||
+ (id) URLUserAllowedCharacterSet;
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
@ -800,6 +800,8 @@ typedef NSUInteger NSStringEncodingConversionOptions;
|
|||
- (NSString*) stringByReplacingPercentEscapesUsingEncoding: (NSStringEncoding)e;
|
||||
- (NSString*) stringByTrimmingCharactersInSet: (NSCharacterSet*)aSet;
|
||||
- (const char *)UTF8String;
|
||||
- (NSString *) stringByAddingPercentWithAllowedCharacters: (NSCharacterSet *)aSet;
|
||||
- (NSString *) stringByRemovingEscapeEncoding;
|
||||
#endif
|
||||
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_3,GS_API_LATEST)
|
||||
|
|
|
@ -833,6 +833,31 @@ static Class concreteMutableClass = nil;
|
|||
return nil;
|
||||
}
|
||||
|
||||
+ (id) URLFragmentAllowedCharacterSet;
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
+ (id) URLPasswordAllowedCharacterSet;
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
+ (id) URLPathAllowedCharacterSet;
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
+ (id) URLQueryAllowedCharacterSet;
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
+ (id) URLUserAllowedCharacterSet
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (NSData*) bitmapRepresentation
|
||||
{
|
||||
BOOL (*imp)(id, SEL, unichar);
|
||||
|
|
|
@ -1949,6 +1949,16 @@ GSICUCollatorOpen(NSStringCompareOptions mask, NSLocale *locale)
|
|||
return s;
|
||||
}
|
||||
|
||||
- (NSString *) stringByAddingPercentWithAllowedCharacters: (NSCharacterSet *)aSet
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (NSString *) stringByRemovingEscapeEncoding
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructs a new string consisting of this instance followed by the string
|
||||
* specified by format.
|
||||
|
|
Loading…
Reference in a new issue