Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/woip/app/ReadStream.h
blob: 96f8fe28225c1ae8513dec7c056a20a0d0d1d1ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#import <Foundation/Foundation.h>

@interface ReadStream : NSObject {
  NSString *str;
  int pos;
}

-(ReadStream *) initWithString: (NSString *) str;
-(unichar) peek;
-(unichar) peekTwo;
-(unichar) read;
-(unichar) expect: (unichar) c;
-(BOOL) isAtEnd;
-(NSString *) readUpto: (unichar) c;

@end