summaryrefslogtreecommitdiff
path: root/src/enums
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/enums
parent11000f010f19a2de85ba26660b451c7c41ab3a97 (diff)
downloadmv-db82bf99bbd6d246f3e8da19fe88705f7015f144.tar.gz
mv-db82bf99bbd6d246f3e8da19fe88705f7015f144.tar.bz2
mv-db82bf99bbd6d246f3e8da19fe88705f7015f144.tar.xz
mv-db82bf99bbd6d246f3e8da19fe88705f7015f144.zip
Move TextCommandType enum into separate file and convert to strong typed.
Diffstat (limited to 'src/enums')
-rw-r--r--src/enums/textcommandtype.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/enums/textcommandtype.h b/src/enums/textcommandtype.h
new file mode 100644
index 000000000..4557ca671
--- /dev/null
+++ b/src/enums/textcommandtype.h
@@ -0,0 +1,33 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2011-2015 The ManaPlus Developers
+ *
+ * This file is part of The ManaPlus Client.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef ENUMS_TEXTCOMMANDTYPE_H
+#define ENUMS_TEXTCOMMANDTYPE_H
+
+#include "enums/simpletypes/enumdefines.h"
+
+enumStart(TextCommandType)
+{
+ Magic = 0,
+ Text = 1
+}
+enumEnd(TextCommandType);
+
+#endif // ENUMS_TEXTCOMMANDTYPE_H