summaryrefslogtreecommitdiff
path: root/src/playerrelations.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-29 03:51:37 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-29 03:52:16 +0300
commit3bf4e26b1319295532bb4396cbd6406d85cbcae0 (patch)
tree80a4303b29aafa21683e90e45798283a482bf1d1 /src/playerrelations.h
parent7f607a0f58a9eba53237955c06bf445c71d57b6c (diff)
downloadmanaplus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.gz
manaplus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.bz2
manaplus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.xz
manaplus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.zip
Replace vectors with strings to short names.
Diffstat (limited to 'src/playerrelations.h')
-rw-r--r--src/playerrelations.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/playerrelations.h b/src/playerrelations.h
index 143a82477..91f5c2e9e 100644
--- a/src/playerrelations.h
+++ b/src/playerrelations.h
@@ -23,10 +23,10 @@
#ifndef PLAYER_RELATIONS_H
#define PLAYER_RELATIONS_H
+#include "utils/stringvector.h"
+
#include <list>
#include <map>
-#include <string>
-#include <vector>
class Being;
@@ -200,10 +200,9 @@ class PlayerRelationsManager
* Retrieves a sorted vector of all players for which we have any
* relations recorded.
*/
- std::vector<std::string> *getPlayers();
+ StringVect *getPlayers();
- std::vector<std::string> *getPlayersByRelation(PlayerRelation::Relation
- rel);
+ StringVect *getPlayersByRelation(PlayerRelation::Relation rel);
/**
* Removes all recorded player info.