@@ -20,10 +20,11 @@ #include #import "OFLHAArchive.h" #import "OFLHAArchiveEntry.h" #import "OFLHAArchiveEntry+Private.h" +#import "OFArchiveURIHandler.h" #import "OFCRC16.h" #import "OFLHADecompressingStream.h" #import "OFSeekableStream.h" #import "OFStream.h" #import "OFString.h" @@ -92,11 +93,11 @@ return [[[self alloc] initWithURI: URI mode: mode] autorelease]; } + (OFURI *)URIForFile: (OFString *)path inArchive: (OFURI *)archive { - return OFURIForFileInArchive(@"of-lha", path, archive); + return OFArchiveURIHandlerURIForFileInArchive(@"of-lha", path, archive); } - (instancetype)init { OF_INVALID_INIT_METHOD