@@ -13,15 +13,17 @@ * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #import "OFObject.h" +#import "OFHTTPClient.h" @class OFString; -@interface TableGenerator: OFObject +@interface TableGenerator: OFObject { + OFHTTPClient *_HTTPClient; of_unichar_t _uppercaseTable[0x110000]; of_unichar_t _lowercaseTable[0x110000]; of_unichar_t _titlecaseTable[0x110000]; of_unichar_t _casefoldingTable[0x110000]; OFString *_decompositionTable[0x110000]; @@ -38,11 +40,12 @@ size_t _casefoldingTableSize; size_t _decompositionTableSize; size_t _decompositionCompatTableSize; } -- (void)parseUnicodeData; -- (void)parseCaseFolding; +- (void)parseUnicodeData: (OFHTTPResponse *)response; +- (void)parseCaseFolding: (OFHTTPResponse *)response; - (void)applyDecompositionRecursivelyForTable: (OFString *[0x110000])table; +- (void)writeFiles; - (void)writeTablesToFile: (OFString *)path; - (void)writeHeaderToFile: (OFString *)path; @end