diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/FbTk/Subject.hh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/FbTk/Subject.hh b/src/FbTk/Subject.hh index 39f88ee..187069b 100644 --- a/src/FbTk/Subject.hh +++ b/src/FbTk/Subject.hh | |||
@@ -19,18 +19,20 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: Subject.hh,v 1.1 2003/02/15 01:21:40 fluxgen Exp $ | 22 | // $Id: Subject.hh,v 1.2 2003/08/11 15:01:50 fluxgen Exp $ |
23 | 23 | ||
24 | #ifndef FBTK_SUBJECT_HH | 24 | #ifndef FBTK_SUBJECT_HH |
25 | #define FBTK_SUBJECT_HH | 25 | #define FBTK_SUBJECT_HH |
26 | 26 | ||
27 | #include "NotCopyable.hh" | ||
28 | |||
27 | #include <list> | 29 | #include <list> |
28 | 30 | ||
29 | namespace FbTk { | 31 | namespace FbTk { |
30 | 32 | ||
31 | class Observer; | 33 | class Observer; |
32 | 34 | ||
33 | class Subject { | 35 | class Subject:private FbTk::NotCopyable { |
34 | public: | 36 | public: |
35 | Subject(); | 37 | Subject(); |
36 | virtual ~Subject(); | 38 | virtual ~Subject(); |