* EOControl/EOKeyValueCoding.h: Use base/Foundation

NSUnknownKeyException for EOUnknownKeyException to allow use of
	base/Foundation NSKeyValueCoding.
	* EOControl/EOKeyValueCoding.m: Add EOTargetObjectUserInfoKey and
	EOUnknownUserInfoKey.
	([NSObject +flushAllKeyBindings]): Add method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@16602 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Ayers 2003-05-02 10:06:06 +00:00
parent 19ea7ea1fc
commit e7bb687ecf
3 changed files with 17 additions and 1 deletions

View file

@ -1,3 +1,12 @@
2003-05-02 David Ayers <d.ayers@inode.at>
* EOControl/EOKeyValueCoding.h: Use base/Foundation
NSUnknownKeyException for EOUnknownKeyException to allow use of
base/Foundation NSKeyValueCoding.
* EOControl/EOKeyValueCoding.m: Add EOTargetObjectUserInfoKey and
EOUnknownUserInfoKey.
([NSObject +flushAllKeyBindings]): Add method.
2003-04-18 Mirko Viviani <mirko@objectlab.org>
* EOAccess/EOAttribute.m ([EOAttribute -awakeWithPropertyList:]): set

View file

@ -86,7 +86,7 @@
@end
#endif
GDL2CONTROL_EXPORT NSString *EOUnknownKeyException;
#define EOUnknownKeyException NSUnknownKeyException;
GDL2CONTROL_EXPORT NSString *EOTargetObjectUserInfoKey;
GDL2CONTROL_EXPORT NSString *EOUnknownUserInfoKey;

View file

@ -74,12 +74,19 @@ RCS_ID("$Id$")
* EOKeyValueCodingAdditions implementation
*/
NSString *EOTargetObjectUserInfoKey = @"EOTargetObjectUserInfoKey";
NSString *EOUnknownUserInfoKey = @"EOUnknownUserInfoKey";
@implementation NSObject (EOKVCPAdditions2)
+ (void) flushClassKeyBindings
{
}
+ (void) flushAllKeyBindings
{
}
- (void) unableToSetNullForKey: (NSString *)key
{
[NSException raise: NSInvalidArgumentException