home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OpenStep 4.2J (Developer)
/
os42jdev.iso
/
NextDeveloper
/
Headers
/
driverkit
/
KernStringList.h
< prev
next >
Wrap
Text File
|
1997-04-27
|
575b
|
30 lines
/*
* A List object for C-strings.
*
* Its sole purpose is to make whitespace-separated lists of words
* easier to deal with, since we use them a lot in driverkit string tables.
*
*
*/
#import <objc/Object.h>
@interface KernStringList : Object
{
@private
char **strings;
unsigned count;
}
/*
* Takes a whitespace-separated list of words,
* and separates it into a list of null-terminated strings.
*/
- initWithWhitespaceDelimitedString:(const char *)string;
- (unsigned)count;
- (const char *)stringAt:(unsigned)index;
- (const char *)lastString;
@end