mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-26 18:15:36 +00:00
Make CPFlashMovie CPCoding compliant.
This commit is contained in:
1 parent
e40696a7af
commit
00f470763f
1 file changed
+18
@@ -58,4 +58,22 @@
|
||||
return self;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
var CPFlashMovieFileNameKey = "CPFlashMovieFileNameKey";
|
||||
|
||||
@implementation CPFlashMovie (CPCoding)
|
||||
|
||||
- (id)initWithCoder:(CPCoder)aCoder
|
||||
{
|
||||
_fileName = [aCoder decodeObjectForKey:CPFlashMovieFileNameKey];
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)encodeWithCoder:(CPCoder)aCoder
|
||||
{
|
||||
[aCoder encodeObject:_fileName forKey:CPFlashMovieFileNameKey];
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in new issue
Block a user