mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-01 01:20:25 +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
|
#ifndef WIDGETS_EDITOR_EDITOR_STATE_H_INCLUDED
|
||||||
#define WIDGETS_EDITOR_EDITOR_STATE_H_INCLUDED
|
#define WIDGETS_EDITOR_EDITOR_STATE_H_INCLUDED
|
||||||
|
|
||||||
|
#include "base/disable_copying.h"
|
||||||
|
|
||||||
class Editor;
|
class Editor;
|
||||||
class EditorDecorator;
|
class EditorDecorator;
|
||||||
union Message;
|
union Message;
|
||||||
@ -31,6 +33,7 @@ union Message;
|
|||||||
class EditorState
|
class EditorState
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
EditorState() { }
|
||||||
virtual ~EditorState() { }
|
virtual ~EditorState() { }
|
||||||
|
|
||||||
// Called just before this state is deleted and replaced by a new
|
// Called just before this state is deleted and replaced by a new
|
||||||
@ -80,6 +83,8 @@ public:
|
|||||||
// Called after the sprite is painted.
|
// Called after the sprite is painted.
|
||||||
virtual EditorDecorator* getDecorator() { return NULL; }
|
virtual EditorDecorator* getDecorator() { return NULL; }
|
||||||
|
|
||||||
|
private:
|
||||||
|
DISABLE_COPYING(EditorState);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // WIDGETS_EDITOR_EDITOR_STATE_H_INCLUDED
|
#endif // WIDGETS_EDITOR_EDITOR_STATE_H_INCLUDED
|
||||||
|
Loading…
x
Reference in New Issue
Block a user