Use new Archiver classes instead of Coder.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@946 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1996-02-22 15:17:12 +00:00
parent 1ecc7f734a
commit 7968d35f47

View file

@ -23,7 +23,7 @@
#include <objects/stdobjects.h>
#include <Foundation/NSGArchiver.h>
#include <objects/Coder.h>
#include <objects/Archiver.h>
#include <objects/behavior.h>
@implementation NSGArchiver
@ -31,7 +31,7 @@
+ (void) initialize
{
if (self == [NSGArchiver class])
class_add_behavior([NSGArchiver class], [Coder class]);
class_add_behavior([NSGArchiver class], [Archiver class]);
}
@end
@ -41,7 +41,7 @@
+ (void) initialize
{
if (self == [NSGUnarchiver class])
class_add_behavior([NSGUnarchiver class], [Coder class]);
class_add_behavior([NSGUnarchiver class], [Unarchiver class]);
}
@end