49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
#endif
}
@implementation TarArchive
+ (void)initialize
{
if (self == [TarArchive class])
app = [[OFApplication sharedApplication] delegate];
}
+ (instancetype)archiveWithStream: (OF_KINDOF(OFStream*))stream
{
return [[[self alloc] initWithStream: stream] autorelease];
}
|
|
|
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
#endif
}
@implementation TarArchive
+ (void)initialize
{
if (self == [TarArchive class])
app = (OFZIP*)[[OFApplication sharedApplication] delegate];
}
+ (instancetype)archiveWithStream: (OF_KINDOF(OFStream*))stream
{
return [[[self alloc] initWithStream: stream] autorelease];
}
|