summaryrefslogtreecommitdiff
path: root/src/stringvector.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-24 15:26:07 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-24 15:26:07 +0300
commitc2c287aff27ad1f665338e746e7ecd4309094b0a (patch)
tree80106ab2e7847c12dd453bbbd543805dd5702ef0 /src/stringvector.h
parent008f60f47bb9be7a456ed754b45ab4bb14ec436c (diff)
downloadmplint-c2c287aff27ad1f665338e746e7ecd4309094b0a.tar.gz
mplint-c2c287aff27ad1f665338e746e7ecd4309094b0a.tar.bz2
mplint-c2c287aff27ad1f665338e746e7ecd4309094b0a.tar.xz
mplint-c2c287aff27ad1f665338e746e7ecd4309094b0a.zip
Add string utils from manaplus.
update localconsts.
Diffstat (limited to 'src/stringvector.h')
-rw-r--r--src/stringvector.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/stringvector.h b/src/stringvector.h
new file mode 100644
index 0000000..1aced69
--- /dev/null
+++ b/src/stringvector.h
@@ -0,0 +1,31 @@
+/*
+ * 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 3 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 STRINGVECTOR_H
+#define STRINGVECTOR_H
+
+#include <string>
+#include <vector>
+
+typedef std::vector<std::string> StringVect;
+typedef StringVect::iterator StringVectIter;
+typedef StringVect::const_iterator StringVectCIter;
+
+#endif // STRINGVECTOR_H