mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-27 22:17:03 +00:00
39 lines
579 B
Plaintext
39 lines
579 B
Plaintext
|
|
@import <Foundation/CPKeyedUnarchiver.j>
|
|
|
|
|
|
@implementation _CPCibKeyedUnarchiver : CPKeyedUnarchiver
|
|
{
|
|
CPBundle _bundle;
|
|
}
|
|
|
|
- (id)initForReadingWithData:(CPData)data bundle:(CPBundle)aBundle
|
|
{
|
|
self = [super initForReadingWithData:data];
|
|
|
|
if (self)
|
|
{
|
|
_bundle = aBundle;
|
|
|
|
[self setDelegate:self];
|
|
}
|
|
|
|
return self;
|
|
}
|
|
|
|
- (CPBundle)bundle
|
|
{
|
|
return _bundle;
|
|
}
|
|
|
|
- (void)replaceObjectAtUID:(int)aUID withObject:(id)anObject
|
|
{
|
|
_objects[aUID] = anObject;
|
|
}
|
|
|
|
- (id)objectAtUID:(int)aUID
|
|
{
|
|
return _objects[aUID];
|
|
}
|
|
|
|
@end |