Author: mordante
Date: Sat Sep 13 19:12:44 2008
New Revision: 29439

URL: http://svn.gna.org/viewcvs/wesnoth?rev=29439&view=rev
Log:
Update doxygen comment style.

Modified:
    trunk/src/game_preferences.cpp

Modified: trunk/src/game_preferences.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_preferences.cpp?rev=29439&r1=29438&r2=29439&view=diff
==============================================================================
--- trunk/src/game_preferences.cpp (original)
+++ trunk/src/game_preferences.cpp Sat Sep 13 19:12:44 2008
@@ -50,14 +50,14 @@
 std::map<std::string, std::vector<std::string> > history_map;
 const unsigned max_history_saved = 50;
 
-//! Add a nick to the specified relation setting.
+/** Add a nick to the specified relation setting. */
 void add_relation(const std::string& nick, const std::string& relation) {
        std::vector<std::string> r = utils::split(preferences::get(relation));
        r.push_back(nick);
        preferences::set(relation, utils::join(r));
 }
 
-//! Remove a nick from the specified relation setting.
+/** Remove a nick from the specified relation setting. */
 void remove_relation(const std::string& nick, const std::string& relation) {
        std::vector<std::string> r = utils::split(preferences::get(relation));
        r.erase(std::remove(r.begin(), r.end(), nick), r.end());
@@ -772,9 +772,12 @@
        return preferences::set("custom_command", command);
 }
 
-//! Returns a pointer to the history vector associated with given id
-//! making a new one if it doesn't exist.
-// FIXME only used for gui2. Could be used for the above histories.
+/**
+ * Returns a pointer to the history vector associated with given id
+ * making a new one if it doesn't exist.
+ * 
+ * @todo FIXME only used for gui2. Could be used for the above histories.
+ */
 std::vector<std::string>* get_history(const std::string& id) {
        return &history_map[id];
 }


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to