[Orxonox-commit 1932] r6649 - code/branches/chat/src/orxonox

smerkli at orxonox.net smerkli at orxonox.net
Mon Mar 29 16:47:28 CEST 2010


Author: smerkli
Date: 2010-03-29 16:47:28 +0200 (Mon, 29 Mar 2010)
New Revision: 6649

Modified:
   code/branches/chat/src/orxonox/ChatHistory.cc
Log:
Minor commenting.

Modified: code/branches/chat/src/orxonox/ChatHistory.cc
===================================================================
--- code/branches/chat/src/orxonox/ChatHistory.cc	2010-03-29 14:44:54 UTC (rev 6648)
+++ code/branches/chat/src/orxonox/ChatHistory.cc	2010-03-29 14:47:28 UTC (rev 6649)
@@ -79,7 +79,7 @@
     this->chat_hist_logline( buf );
   } 
 
-  /* Synchronize logfile onto the hard drive */
+  /* Synchronize logfile onto the hard drive */ /* MARK MARK */
   int ChatHistory::syncLog();
 
   /* add a line to this history */
@@ -95,6 +95,9 @@
   /* log a line to a logfile */
   int ChatHistory::chat_hist_logline( const std::string& toadd )
   { 
+    /* TODO use already written class to batch write to file
+     * so not every line gets written on its own 
+     */
     /* output the line to the file if logging is enabled */
     if( this->hist_log_enabled )
       this->hist_logfile << buf << std::endl;




More information about the Orxonox-commit mailing list