patterns/observer/delivery/subject.d

11 lines
197 B
D

module observer.delivery.subject;
import observer.delivery.observer;
interface Subject
{
void registerObserver(Observer o);
void removeObserver(Observer o);
void notifyObservers();
}