mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-04-23 13:10:48 +00:00
* EOControl/EOAndQualifier.m,
* EOControl/EOKeyComparisonQualifier.m, * EOControl/EOOrQualifier.m: ([-initWithKeyValueUnarchiver]): Implement. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@19455 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d664f86ff8
commit
933ca098f5
4 changed files with 40 additions and 4 deletions
|
@ -1,3 +1,10 @@
|
|||
2004-06-04 Simon Stapelton <simon@tufty.co.uk>
|
||||
|
||||
* EOControl/EOAndQualifier.m,
|
||||
* EOControl/EOKeyComparisonQualifier.m,
|
||||
* EOControl/EOOrQualifier.m:
|
||||
([-initWithKeyValueUnarchiver]): Implement.
|
||||
|
||||
2004-05-16 David Ayers <d.ayers@inode.at>
|
||||
|
||||
* EOAccess/EODatabaseContext.m: Replace EOFLOGObjectLevel and
|
||||
|
|
|
@ -204,9 +204,13 @@ RCS_ID("$Id$")
|
|||
return resultQualifier;
|
||||
}
|
||||
|
||||
- (id) initWithKeyValueUnarchiver: (id)param0
|
||||
- (id) initWithKeyValueUnarchiver: (id) archiver
|
||||
{
|
||||
return [self notImplemented: _cmd]; //TODO
|
||||
if ((self = [super init])) {
|
||||
id qualifierArray = [archiver decodeObjectForKey:@"qualifiers"];
|
||||
ASSIGN (_qualifiers, qualifierArray);
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void) encodeWithKeyValueArchiver: (id)param0
|
||||
|
|
|
@ -255,5 +255,26 @@ RCS_ID("$Id$")
|
|||
{
|
||||
[keys addObject: _leftKey];
|
||||
}
|
||||
|
||||
- (id) initWithKeyValueUnarchiver: (EOKeyValueUnarchiver*)unarchiver
|
||||
{
|
||||
EOFLOGObjectFnStartOrCond(@"EOQualifier");
|
||||
|
||||
if ((self = [self init]))
|
||||
{
|
||||
NSString *selectorName = [unarchiver decodeObjectForKey: @"selectorName"];
|
||||
|
||||
if (selectorName)
|
||||
_selector = NSSelectorFromString(selectorName);
|
||||
|
||||
ASSIGN(_leftKey, [unarchiver decodeObjectForKey: @"leftKey"]);
|
||||
ASSIGN(_rightKey, [unarchiver decodeObjectForKey: @"rightKey"]);
|
||||
}
|
||||
|
||||
EOFLOGObjectFnStopOrCond(@"EOQualifier");
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
|
|
|
@ -192,9 +192,13 @@ RCS_ID("$Id$")
|
|||
return resultQualifier;
|
||||
}
|
||||
|
||||
- (id) initWithKeyValueUnarchiver: (id)param0
|
||||
- (id) initWithKeyValueUnarchiver: (id) archiver
|
||||
{
|
||||
return [self notImplemented: _cmd]; //TODO
|
||||
if ((self = [super init])) {
|
||||
id qualifierArray = [archiver decodeObjectForKey:@"qualifiers"];
|
||||
ASSIGN (_qualifiers, qualifierArray);
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void) encodeWithKeyValueArchiver: (id)param0
|
||||
|
|
Loading…
Reference in a new issue