New GSCustomView class

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11077 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 2001-10-03 17:05:57 +00:00
parent cb4ab6e766
commit 10087d287b
3 changed files with 21 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2001-10-03 Adam Fedor <fedor@gnu.org>
* Headers/gnustep/gui/NSNibLoading.h: New GSCustomView class.
* Source/NSBundleAdditions.m: Implement it.
2001-10-02 Adam Fedor <fedor@gnu.org> 2001-10-02 Adam Fedor <fedor@gnu.org>
* Source/NSWindow.m (-orderWindow:relativeTo:): setFrame: to the * Source/NSWindow.m (-orderWindow:relativeTo:): setFrame: to the

View file

@ -85,6 +85,10 @@
} }
@end @end
@interface GSCustomView : GSNibItem <NSCoding>
{
}
@end
#endif /* NO_GNUSTEP */ #endif /* NO_GNUSTEP */
#endif /* _GNUstep_H_NSNibLoading */ #endif /* _GNUstep_H_NSNibLoading */

View file

@ -598,3 +598,15 @@ Class gmodel_class(void)
@end @end
@implementation GSCustomView
- (void) encodeWithCoder: (NSCoder*)aCoder
{
[super encodeWithCoder: aCoder];
}
- (id) initWithCoder: (NSCoder*)aCoder
{
return [super initWithCoder: aCoder];
}
@end