Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/dvi/observer.hh
diff options
context:
space:
mode:
Diffstat (limited to 'dvi/observer.hh')
-rwxr-xr-xdvi/observer.hh15
1 files changed, 15 insertions, 0 deletions
diff --git a/dvi/observer.hh b/dvi/observer.hh
new file mode 100755
index 0000000..488fc52
--- /dev/null
+++ b/dvi/observer.hh
@@ -0,0 +1,15 @@
+#ifndef OBSERVER_HH
+#define OBSERVER_HH
+
+#include <dl-refcounted.hh>
+
+using DviLib::RefCounted;
+
+class Observer : public RefCounted {
+public:
+ virtual void notify (void) const = 0;
+ virtual ~Observer() {}
+};
+
+
+#endif /* OBSERVER_HH */