Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/woip/app/ReadStream.h
diff options
context:
space:
mode:
Diffstat (limited to 'woip/app/ReadStream.h')
-rw-r--r--woip/app/ReadStream.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/woip/app/ReadStream.h b/woip/app/ReadStream.h
new file mode 100644
index 0000000..96f8fe2
--- /dev/null
+++ b/woip/app/ReadStream.h
@@ -0,0 +1,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