// $Id: Observer.hh 4856 2005-11-12 20:32:42Z m9710797 $ #ifndef OBSERVER_HH #define OBSERVER_HH namespace openmsx { /** * Generic Gang-of-Four Observer class, templatized edition. */ template class Observer { public: virtual void update(const T& subject) = 0; protected: virtual ~Observer() {} }; } // namespace openmsx #endif