]> err.no Git - sope/commitdiff
added NSCopying to EOQualifier
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Tue, 23 Aug 2005 00:36:52 +0000 (00:36 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Tue, 23 Aug 2005 00:36:52 +0000 (00:36 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1065 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

sope-core/EOControl/ChangeLog
sope-core/EOControl/EOQualifier.h
sope-core/EOControl/EOQualifier.m
sope-core/EOControl/Version

index 7b65e8d8c08ddf80a76e2280db44158afbcd0d9f..1a1fdbc952f3845d3d826b188606d32813db7150 100644 (file)
@@ -1,3 +1,7 @@
+2005-08-23  Helge Hess  <helge.hess@opengroupware.org>
+
+       * EOQualifier.m: added NSCopying (v4.5.60)
+
 2005-08-06  Helge Hess  <helge.hess@opengroupware.org>
 
        * EOKeyValueArchiver.m: improved decoding of bools (v4.5.59)
index de5f12a3edb30d59462c5e49fea2f2221a5c1e4d..00ce8448f12b34040a7a96df5d528a26d82473ed 100644 (file)
@@ -54,7 +54,7 @@
 - (BOOL)evaluateWithObject:(id)_object;
 @end
 
-@interface EOQualifier : NSObject < EOKeyValueArchiving >
+@interface EOQualifier : NSObject < NSCopying, EOKeyValueArchiving >
 
 + (EOQualifier *)qualifierToMatchAnyValue:(NSDictionary *)_values;
 + (EOQualifier *)qualifierToMatchAllValues:(NSDictionary *)_values;
index 23c96daf20955e84b914aa8ab1a4e6bb4779216c..6b7c68740928b6cca51211c3b66c35a0f6773a4e 100644 (file)
@@ -258,4 +258,11 @@ static EONull     *null = nil;
 - (void)encodeWithKeyValueArchiver:(EOKeyValueArchiver *)_archiver {
 }
 
+/* NSCopying */
+
+- (id)copyWithZone:(NSZone *)_zone {
+  /* EOQualifiers are supposed to be immutable */
+  return [self retain];
+}
+
 @end /* EOQualifier */
index de3d3ecd1a652cb6df956911af35bddf3a29e7d0..7fbe8ee140e3623022ccc65103109611c7a3231a 100644 (file)
@@ -1,3 +1,3 @@
 # version file
 
-SUBMINOR_VERSION:=59
+SUBMINOR_VERSION:=60