mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-29 19:20:09 +00:00
EditorState cannot be copied.
This commit is contained in:
parent
73d51be2f5
commit
2c296d65cb
@ -19,6 +19,8 @@
|
||||
#ifndef WIDGETS_EDITOR_EDITOR_STATE_H_INCLUDED
|
||||
#define WIDGETS_EDITOR_EDITOR_STATE_H_INCLUDED
|
||||
|
||||
#include "base/disable_copying.h"
|
||||
|
||||
class Editor;
|
||||
class EditorDecorator;
|
||||
union Message;
|
||||
@ -31,6 +33,7 @@ union Message;
|
||||
class EditorState
|
||||
{
|
||||
public:
|
||||
EditorState() { }
|
||||
virtual ~EditorState() { }
|
||||
|
||||
// Called just before this state is deleted and replaced by a new
|
||||
@ -80,6 +83,8 @@ public:
|
||||
// Called after the sprite is painted.
|
||||
virtual EditorDecorator* getDecorator() { return NULL; }
|
||||
|
||||
private:
|
||||
DISABLE_COPYING(EditorState);
|
||||
};
|
||||
|
||||
#endif // WIDGETS_EDITOR_EDITOR_STATE_H_INCLUDED
|
||||
|
Loading…
x
Reference in New Issue
Block a user