Files
cappuccino/AppKit/Cib/_CPCibKeyedUnarchiver.j
T
2009-02-15 01:11:57 -08:00

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