Added class NonCopyable, and made various things derive from it
svn-id: r26163
This commit is contained in:
parent
c1f4dbda77
commit
9751421434
6 changed files with 55 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue