This repository has been archived on 2022-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
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();
}