16 lines
288 B
C++
16 lines
288 B
C++
// ======================================================
|
|
// Observer.h
|
|
// ======================================================
|
|
|
|
#ifndef OBSERVER_H
|
|
#define OBSERVER_H
|
|
|
|
#include "Subject.h"
|
|
|
|
class Observer {
|
|
public:
|
|
virtual void update(const Hint &) = 0;
|
|
};
|
|
|
|
#endif
|