#ifndef ACTIVATOR_H
#define ACTIVATOR_H

#import <yeslib.h>

//activators keep a list of objects to 
//send an activation message to

@protocol Activator
-(void) activate;
-(void) registerObject: (id) receiver;
@end

//receiver of activation messages
@protocol Receiver
-(void) activate;
@end

@interface Activator : YSObject <Activator> {
    YSArray *receivers;
}

-(void) activate;
-(void) registerObject: (id) receiver;
@end

@interface Receiver : YSObject <Receiver> {

}

-(void) activate;
@end

#endif