diff options
Diffstat (limited to 'plugins/WinterSpeak/src/Observer.h')
-rw-r--r-- | plugins/WinterSpeak/src/Observer.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/plugins/WinterSpeak/src/Observer.h b/plugins/WinterSpeak/src/Observer.h index ec52b2c4d3..a66bd0ace7 100644 --- a/plugins/WinterSpeak/src/Observer.h +++ b/plugins/WinterSpeak/src/Observer.h @@ -1,17 +1,17 @@ #pragma once
-class Subject; +class Subject;
-class Observer -{ - public: - virtual ~Observer(); - - //-------------------------------------------------------------------------- +class Observer
+{
+ public:
+ virtual ~Observer();
+
+ //--------------------------------------------------------------------------
// Description : Called by a subject that this observer is observing
// to signify a change in state
- // Parameters : subject - the subject that changed - //-------------------------------------------------------------------------- - virtual void update(Subject &subject) = 0; + // Parameters : subject - the subject that changed
+ //--------------------------------------------------------------------------
+ virtual void update(Subject &subject) = 0;
};
\ No newline at end of file |