Oolite 1.91.0.7644-241112-7f5034b
Loading...
Searching...
No Matches
NSScannerOOExtensions.h
Go to the documentation of this file.
1/*
2
3NSScannerOOExtensions.h
4
5Additions to NSScanner to work around bugs.
6
7FIXME: does this work around bugs that actually exist in any system we're
8targetting? It's a conundrum.
9
10
11Oolite
12Copyright (C) 2004-2013 Giles C Williams and contributors
13
14This program is free software; you can redistribute it and/or
15modify it under the terms of the GNU General Public License
16as published by the Free Software Foundation; either version 2
17of the License, or (at your option) any later version.
18
19This program is distributed in the hope that it will be useful,
20but WITHOUT ANY WARRANTY; without even the implied warranty of
21MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22GNU General Public License for more details.
23
24You should have received a copy of the GNU General Public License
25along with this program; if not, write to the Free Software
26Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
27MA 02110-1301, USA.
28
29*/
30
31#import "OOCocoa.h"
32
33
34@interface NSScanner (OOExtensions)
35
36- (BOOL) ooliteScanCharactersFromSet:(NSCharacterSet *)set intoString:(NSString **)value;
37- (BOOL) ooliteScanUpToCharactersFromSet:(NSCharacterSet *)set intoString:(NSString **)value;
38
39@end
40