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/subject.d

11 lines
179 B
D

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