@@ -12,14 +12,17 @@ * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ -#import "OFString.h" +#import "OFObject.h" + +@class OFString; @interface TableGenerator: OFObject { + OFString *unicodeData, *caseFolding; of_unichar_t uppercaseTable[0x110000]; of_unichar_t lowercaseTable[0x110000]; of_unichar_t titlecaseTable[0x110000]; of_unichar_t casefoldingTable[0x110000]; BOOL uppercaseTableUsed[0x1100]; @@ -30,10 +33,11 @@ size_t lowercaseTableSize; size_t titlecaseTableSize; size_t casefoldingTableSize; } -- (void)readUnicodeDataFileAtPath: (OFString*)path; -- (void)readCaseFoldingFileAtPath: (OFString*)path; -- (void)writeTablesToFileAtPath: (OFString*)path; -- (void)writeHeaderToFileAtPath: (OFString*)path; +- (void)downloadFiles; +- (void)parseUnicodeData; +- (void)parseCaseFolding; +- (void)writeTablesToFile: (OFString*)path; +- (void)writeHeaderToFile: (OFString*)path; @end