Added class NonCopyable, and made various things derive from it

svn-id: r26163
This commit is contained in:
Max Horn 2007-03-17 10:36:14 +00:00
parent c1f4dbda77
commit 9751421434
6 changed files with 55 additions and 12 deletions

View file

@ -25,6 +25,7 @@
#include "common/rect.h"
#include "common/system.h"
#include "common/noncopyable.h"
namespace Common {
@ -33,7 +34,7 @@ namespace Common {
* In addition, it keeps track of the state of various input devices,
* like keys, mouse position and buttons.
*/
class EventManager {
class EventManager : NonCopyable {
public:
EventManager() {}
virtual ~EventManager() {}
@ -79,6 +80,6 @@ public:
// replacing it by a generic getScreenChangeID method here
};
}
} // End of namespace Common
#endif