Parent Directory | Revision Log | Patch
revision 1.1 by sebhorna, Wed May 21 10:11:31 2003 UTC | revision 1.2 by thunder, Wed Jul 2 10:31:34 2003 UTC | |
---|---|---|
# | Line 60 | Line 60 |
60 | /* FIXME - update ttl */ | /* FIXME - update ttl */ |
61 | } | } |
62 | ||
63 | @end | @end |
64 | ||
65 | ||
66 | @implementation HgWeapon (Coding) | |
67 | ||
68 | - (void)encodeWithCoder: (NSCoder *)encoder | |
69 | { | |
70 | [super encodeWithCoder: encoder]; | |
71 | [encoder encodeValueOfObjCType: "I" at: &_ttl]; | |
72 | } | |
73 | ||
74 | - (id)initWithCoder: (NSCoder *)decoder | |
75 | { | |
76 | self = [super initWithCoder: decoder]; | |
77 | [decoder decodeValueOfObjCType: "I" at: &_ttl]; | |
78 | ||
79 | return self; | |
80 | } | |
81 | ||
82 | @end |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |