Differences From Artifact [4b94fd1dc8]:
- File utils/ofzip/Archive.h — part of check-in [7e5c81e186] at 2018-01-03 19:49:46 on branch trunk — Update copyright notice (user: js, size: 1099) [annotate] [blame] [check-ins using]
To Artifact [f666c71e45]:
- File
utils/ofarc/Archive.h
— part of check-in
[51343e2dfc]
at
2018-06-17 16:16:34
on branch trunk
— Rename ofzip to ofarc
It supports more than just ZIP now, so the name was no longer
appropriate. (user: js, size: 1193) [annotate] [blame] [check-ins using] - File utils/ofzip/Archive.h — part of check-in [14b9a27b65] at 2018-05-26 08:47:51 on branch trunk — ofzip: Add support for specifying the encoding (user: js, size: 1193) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
17 18 19 20 21 22 23 | #import "OFObject.h" #import "OFFile.h" #import "OFArray.h" @protocol Archive <OFObject> + (instancetype)archiveWithStream: (OF_KINDOF(OFStream *))stream | | > | > | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | #import "OFObject.h" #import "OFFile.h" #import "OFArray.h" @protocol Archive <OFObject> + (instancetype)archiveWithStream: (OF_KINDOF(OFStream *))stream mode: (OFString *)mode encoding: (of_string_encoding_t)encoding; - (instancetype)initWithStream: (OF_KINDOF(OFStream *))stream mode: (OFString *)mode encoding: (of_string_encoding_t)encoding; - (void)listFiles; - (void)extractFiles: (OFArray OF_GENERIC(OFString *) *)files; - (void)printFiles: (OFArray OF_GENERIC(OFString *) *)files; @optional - (void)addFiles: (OFArray OF_GENERIC(OFString *) *)files; @end |