Differences From Artifact [9f8454bed8]:
- File
utils/ofzip/Archive.h
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 934) [annotate] [blame] [check-ins using]
To Artifact [c9b737aa7a]:
- File
utils/ofzip/Archive.h
— part of check-in
[41949ecc65]
at
2017-08-05 17:48:55
on branch trunk
— ofzip: Support for writing files
Not supported for any file formats, yet. (user: js, size: 1062) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
15 16 17 18 19 20 21 | */ #import "OFObject.h" #import "OFFile.h" #import "OFArray.h" @protocol Archive <OFObject> | | > | > | > > | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | */ #import "OFObject.h" #import "OFFile.h" #import "OFArray.h" @protocol Archive <OFObject> + (instancetype)archiveWithStream: (OF_KINDOF(OFStream *))stream mode: (OFString *)mode; - initWithStream: (OF_KINDOF(OFStream *))stream mode: (OFString *)mode; - (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 |