summaryrefslogtreecommitdiff
path: root/src/playerrelations.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-10-21 20:54:54 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-10-23 10:55:29 +0200
commit9c5791d3e3b413d8b703f1530f67de8936a3434c (patch)
treedd718ab5e09a0128f94509fed3c8b241c23e8dfa /src/playerrelations.h
parent659b1eac4fc9e733fcfd233020bac78701c30640 (diff)
downloadmana-client-9c5791d3e3b413d8b703f1530f67de8936a3434c.tar.gz
mana-client-9c5791d3e3b413d8b703f1530f67de8936a3434c.tar.bz2
mana-client-9c5791d3e3b413d8b703f1530f67de8936a3434c.tar.xz
mana-client-9c5791d3e3b413d8b703f1530f67de8936a3434c.zip
Fixed a certain class of Doxygen warnings
All cases of documentation for non-existing parameters are now fixed. Also marked a few getters as 'const', removed some superfluous 'inline' keywords and removed the unused 'forceQuantity' option from ItemContainer. Reviewed-by: Yohann Ferreira
Diffstat (limited to 'src/playerrelations.h')
-rw-r--r--src/playerrelations.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/playerrelations.h b/src/playerrelations.h
index d6ca31ad..fd76aa03 100644
--- a/src/playerrelations.h
+++ b/src/playerrelations.h
@@ -135,7 +135,7 @@ public:
/**
* Updates the relationship with this player.
*/
- PlayerRelation::Relation getRelation(const std::string &name);
+ PlayerRelation::Relation getRelation(const std::string &name) const;
/**
* Deletes the information recorded for a player.
@@ -182,16 +182,16 @@ public:
* For a given ignore strategy short name, find the appropriate index in
* the ignore strategies vector.
*
- * \param The short name of the ignore strategy to look up
+ * \param shortName The short name of the ignore strategy to look up
* \return The appropriate index, or -1
*/
- int getPlayerIgnoreStrategyIndex(const std::string &shortname);
+ int getPlayerIgnoreStrategyIndex(const std::string &shortName);
/**
* Retrieves a sorted vector of all players for which we have any relations
* recorded.
*/
- std::vector<std::string> *getPlayers();
+ std::vector<std::string> *getPlayers() const;
/**
* Removes all recorded player info.