diff options
author | fluxgen <fluxgen> | 2003-08-11 15:01:50 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-08-11 15:01:50 (GMT) |
commit | 751ba70bf2a2f134accec54f5e33d08770e0cee4 (patch) | |
tree | 3ff57e5625b450f169e62a2ecca5c0aed6b86c2c /src/FbTk | |
parent | 7581c6e5a3ffc5c82d2960f102a7564e0e70e267 (diff) | |
download | fluxbox_lack-751ba70bf2a2f134accec54f5e33d08770e0cee4.zip fluxbox_lack-751ba70bf2a2f134accec54f5e33d08770e0cee4.tar.bz2 |
not copyable
Diffstat (limited to 'src/FbTk')
-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(); |