2000-11-04 Manuel Guesdon <mguesdon@orange-concept.com>

* GSWeb.framework/GSWElementIDString.[hm]: fix bug


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@8028 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
mguesdon 2000-11-04 13:36:57 +00:00
parent 5e7ab5d086
commit d08d2e655e
3 changed files with 186 additions and 16 deletions

View file

@ -26,16 +26,45 @@
#ifndef _GSWElementIDString_h__
#define _GSWElementIDString_h__
/*
//====================================================================
@interface GSWElementIDString : NSMutableString
{
NSMutableString* _string;
};
- (id) init;
- (id) initWithCharactersNoCopy: (unichar*)chars
length: (unsigned)length
freeWhenDone: (BOOL)flag;
- (id) initWithCStringNoCopy: (char*)byteString
length: (unsigned)length
freeWhenDone: (BOOL)flag;
- (id) initWithCapacity: (unsigned)capacity;
- (unsigned) length;
- (unichar) characterAtIndex: (unsigned)index;
- (void) replaceCharactersInRange: (NSRange)range
withString: (NSString*)aString;
-(BOOL)canBeConvertedToEncoding:(NSStringEncoding)encoding;
-(void)dealloc;
-(void)getCString:(char*)buffer
maxLength:(unsigned int)maxLength
range:(NSRange)aRange
remainingRange:(NSRange *)leftoverRange;
-(void)getCString:(char*)buffer
maxLength:(unsigned int)maxLength;
-(void)getCString:(char *)buffer;
-(id)initWithCoder:(NSCoder*)decoder;
-(void)encodeWithCoder:(NSCoder*)encoder;
-(id)copyWithZone:(NSZone *)zone;
-(const char*)cString;
-(unsigned int)cStringLength;
@end
*/
//====================================================================
/*
@interface GSWElementIDString (GSWElementIDStringGSW)
*/
@interface NSMutableString (GSWElementIDStringGSW)
-(void)deleteAllElementIDComponents;
-(void)deleteLastElementIDComponent;
-(void)incrementLastElementIDComponent;
@ -47,8 +76,6 @@
#endif
@end
#define GSWElementIDString NSMutableString
#endif //_GSWElementIDString_h__