mail[Wesnoth-commits] r27472 - in /trunk/src: clipboard.cpp clipboard.hpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by koraq on June 24, 2008 - 08:34:
Author: mordante
Date: Tue Jun 24 08:18:01 2008
New Revision: 27472

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

Modified:
    trunk/src/clipboard.cpp
    trunk/src/clipboard.hpp

Modified: trunk/src/clipboard.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/clipboard.cpp?rev=27472&r1=27471&r2=27472&view=diff
==============================================================================
--- trunk/src/clipboard.cpp (original)
+++ trunk/src/clipboard.cpp Tue Jun 24 08:18:01 2008
@@ -12,8 +12,7 @@
    See the COPYING file for more details.
 */
 
-//! @file clipboard.cpp 
-//!
+/** @file clipboard.cpp */
 
 #include "global.hpp"
 
@@ -276,9 +275,10 @@
        }
 }
 
-
-//! Tries to grab a given target. 
-//! Returns true if successful, false otherwise.
+/**
+ * Tries to grab a given target. 
+ * Returns true if successful, false otherwise.
+ */
 static bool try_grab_target(Atom source, Atom target, std::string& ret)
 {
        UseX x11;

Modified: trunk/src/clipboard.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/clipboard.hpp?rev=27472&r1=27471&r2=27472&view=diff
==============================================================================
--- trunk/src/clipboard.hpp (original)
+++ trunk/src/clipboard.hpp Tue Jun 24 08:18:01 2008
@@ -12,8 +12,7 @@
    See the COPYING file for more details.
 */
 
-//! @file clipboard.hpp 
-//!
+/** @file clipboard.hpp */
 
 #ifndef CLIPBOARD_HPP_INCLUDED
 #define CLIPBOARD_HPP_INCLUDED
@@ -21,19 +20,24 @@
 #include <string>
 #include "SDL.h"
 #include "serialization/string_utils.hpp"
-//! Copies text to the clipboard.
-//!
-//! @param text         The text to copy.
-//! @param mouse        Is the selection done by the mouse? On UNIX systems 
there
-//!                     are multiple clipboards and the mouse selction uses 
a 
-//!                     different clipboard. Ignored on other systems.
+
+/**
+ * Copies text to the clipboard.
+ *
+ * @param text         The text to copy.
+ * @param mouse        Is the selection done by the mouse? On UNIX systems 
there
+ *                     are multiple clipboards and the mouse selction uses a 
+ *                     different clipboard. Ignored on other systems.
+ */
 void copy_to_clipboard(const std::string& text, const bool mouse);
 
-//! Copies text from the clipboard.
-//!
-//! @param mouse        Is the pasting done by the mouse?
-//! 
-//! @returns            String on clipbaord.
+/**
+ * Copies text from the clipboard.
+ *
+ * @param mouse        Is the pasting done by the mouse?
+ * 
+ * @returns            String on clipbaord.
+ */
 std::string copy_from_clipboard(const bool mouse);
 
 #if defined(_X11) && !defined(__APPLE__)




Related Messages


Powered by MHonArc, Updated Tue Jun 24 08:43:02 2008