Revision: 2515
          http://rigsofrods.svn.sourceforge.net/rigsofrods/?rev=2515&view=rev
Author:   ulteq
Date:     2012-05-06 07:02:55 +0000 (Sun, 06 May 2012)
Log Message:
-----------
-Codechange: Replaced '#pragma once' with equivalent '#define' construct

Modified Paths:
--------------
    trunk/source/main/gfx/ColoredTextAreaOverlayElement.h
    trunk/source/main/gfx/ColoredTextAreaOverlayElementFactory.h

Modified: trunk/source/main/gfx/ColoredTextAreaOverlayElement.h
===================================================================
--- trunk/source/main/gfx/ColoredTextAreaOverlayElement.h       2012-05-06 
06:59:57 UTC (rev 2514)
+++ trunk/source/main/gfx/ColoredTextAreaOverlayElement.h       2012-05-06 
07:02:55 UTC (rev 2515)
@@ -17,7 +17,8 @@
 You should have received a copy of the GNU General Public License
 along with Rigs of Rods.  If not, see <http://www.gnu.org/licenses/>.
 */
-#pragma once
+#ifndef __ColoredTextAreaOverlayElement_H_
+#define __ColoredTextAreaOverlayElement_H_
 
 #include "RoRPrerequisites.h"
 
@@ -44,3 +45,5 @@
        float m_ValueTop;
        float m_ValueBottom;
 };
+
+#endif // __ColoredTextAreaOverlayElement_H_

Modified: trunk/source/main/gfx/ColoredTextAreaOverlayElementFactory.h
===================================================================
--- trunk/source/main/gfx/ColoredTextAreaOverlayElementFactory.h        
2012-05-06 06:59:57 UTC (rev 2514)
+++ trunk/source/main/gfx/ColoredTextAreaOverlayElementFactory.h        
2012-05-06 07:02:55 UTC (rev 2515)
@@ -17,9 +17,9 @@
 You should have received a copy of the GNU General Public License
 along with Rigs of Rods.  If not, see <http://www.gnu.org/licenses/>.
 */
+#ifndef __ColoredTextAreaOverlayElementFactory_H_
+#define __ColoredTextAreaOverlayElementFactory_H_
 
-#pragma once
-
 #include "RoRPrerequisites.h"
 
 #include <OgreString.h>
@@ -43,3 +43,5 @@
                return name;
        }
 };
+
+#endif // __ColoredTextAreaOverlayElementFactory_H_

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Rigsofrods-devel mailing list
Rigsofrods-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rigsofrods-devel

Reply via email to