(Notifying): New protocol.

(NotificationPosting): New protocol.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1110 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1996-03-12 14:55:22 +00:00
parent 8e71e638a8
commit 4275c2c40d
2 changed files with 22 additions and 10 deletions

View file

@ -26,7 +26,17 @@
#include <objects/KeyedCollecting.h>
#include <objects/NotificationDispatcher.h>
@interface Notification : NSObject
@protocol Notifying
- (id <String>) name;
- object;
- userInfo;
@end
@protocol NotificationPosting
- (void) postNotification: (id <Notifying>)notification;
@end
@interface Notification : NSObject <Notifying>
{
id _name;
id _object;
@ -40,8 +50,4 @@
object: object
userInfo: info;
- (id <String>) name;
- object;
- userInfo;
@end

View file

@ -26,7 +26,17 @@
#include <objects/KeyedCollecting.h>
#include <objects/NotificationDispatcher.h>
@interface Notification : NSObject
@protocol Notifying
- (id <String>) name;
- object;
- userInfo;
@end
@protocol NotificationPosting
- (void) postNotification: (id <Notifying>)notification;
@end
@interface Notification : NSObject <Notifying>
{
id _name;
id _object;
@ -40,8 +50,4 @@
object: object
userInfo: info;
- (id <String>) name;
- object;
- userInfo;
@end