encoding/decoding methods

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11617 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Laurent Julliard 2001-12-03 21:14:19 +00:00
parent 2cdafa35fb
commit 6c04b107d2
2 changed files with 29 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2001-12-03 Laurent Julliard <laurent@moldus.org>
* Source/NSTableHeaderView.m (-initWithCoder:, decodeWithCoder:):
minimal decoding/encoding methods
2001-12-02 Gregory Casamento <greg_casamento@yahoo.com>
* Source/NSTableView.m
-[NSTableView superviewFrameChanged:] Added a check to prevent

View file

@ -660,5 +660,29 @@
}
}
}
/*
* Encoding/Decoding
*/
- (void) encodeWithCoder: (NSCoder*)aCoder
{
[super encodeWithCoder: aCoder];
/* Nothing else to encode in NSTableHeaderView:
- _tableView is set by the parent NSTableView
- _resizedColumn is reset on decoding anyway
*/
}
- (id) initWithCoder: (NSCoder*)aDecoder
{
self = [super initWithCoder: aDecoder];
_tableView = nil;
_resizedColumn = -1;
return self;
}
@end