summaryrefslogtreecommitdiff
path: root/src/resources/questitemtext.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-16 17:26:23 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-16 17:26:23 +0300
commitb2c84fc1db9284acdd0bf5fc344e9d2435d7f45d (patch)
tree3b0b8a45aad3e1937db8907792d425df05559335 /src/resources/questitemtext.h
parent396b3e298b21677ebe3c6f5c2f5b837ac25625f2 (diff)
downloadplus-b2c84fc1db9284acdd0bf5fc344e9d2435d7f45d.tar.gz
plus-b2c84fc1db9284acdd0bf5fc344e9d2435d7f45d.tar.bz2
plus-b2c84fc1db9284acdd0bf5fc344e9d2435d7f45d.tar.xz
plus-b2c84fc1db9284acdd0bf5fc344e9d2435d7f45d.zip
Move questitemtext into separate file.
Diffstat (limited to 'src/resources/questitemtext.h')
-rw-r--r--src/resources/questitemtext.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/resources/questitemtext.h b/src/resources/questitemtext.h
new file mode 100644
index 000000000..86f8827d2
--- /dev/null
+++ b/src/resources/questitemtext.h
@@ -0,0 +1,39 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2012-2014 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 RESOURCES_QUESTITEMTEXT_H
+#define RESOURCES_QUESTITEMTEXT_H
+
+#include <string>
+
+#include "localconsts.h"
+
+struct QuestItemText final
+{
+ QuestItemText(const std::string &text0, const int type0) :
+ text(text0), type(type0)
+ {
+ }
+
+ std::string text;
+ int type;
+};
+
+#endif // RESOURCES_QUESTITEMTEXT_H