summaryrefslogtreecommitdiff
path: root/src/textcommand.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-16 20:39:21 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-16 20:39:21 +0300
commitdb82bf99bbd6d246f3e8da19fe88705f7015f144 (patch)
tree3fdd7e569c428b611ddaa80f59ff93da4ade1ed0 /src/textcommand.h
parent11000f010f19a2de85ba26660b451c7c41ab3a97 (diff)
downloadplus-db82bf99bbd6d246f3e8da19fe88705f7015f144.tar.gz
plus-db82bf99bbd6d246f3e8da19fe88705f7015f144.tar.bz2
plus-db82bf99bbd6d246f3e8da19fe88705f7015f144.tar.xz
plus-db82bf99bbd6d246f3e8da19fe88705f7015f144.zip
Move TextCommandType enum into separate file and convert to strong typed.
Diffstat (limited to 'src/textcommand.h')
-rw-r--r--src/textcommand.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/textcommand.h b/src/textcommand.h
index d09a1b9be..cf7df586a 100644
--- a/src/textcommand.h
+++ b/src/textcommand.h
@@ -25,6 +25,7 @@
#include "enums/commandtarget.h"
#include "enums/magicschool.h"
+#include "enums/textcommandtype.h"
#include <string>
@@ -34,12 +35,6 @@ const unsigned int MAGIC_START_ID = 340;
class Image;
-enum TextCommandType
-{
- TEXT_COMMAND_MAGIC = 0,
- TEXT_COMMAND_TEXT = 1
-};
-
/**
* Represents one or more instances of a certain item type.
*/