Commits

Holger Frydrych committed 1132866

Remove using namespace from GLX source files

  • Participants
  • Parent commits 19c90fa

Comments (0)

Files changed (4)

File OgreMain/src/GLX/OgreConfigDialog.cpp

 
 #include <string>
 
-extern "C" {
 #include <X11/X.h>
 #include <X11/Xutil.h>
 #include <X11/Xlib.h>
 #include <X11/Xaw/MenuButton.h>
 #include <X11/Xaw/SimpleMenu.h>
 #include <X11/Xaw/SmeBSB.h>
-}
 
 #include <list>
 

File OgreMain/src/GLX/OgreErrorDialog.cpp

 #include "OgreErrorDialog.h"
 #include <iostream>
 
-using namespace Ogre;
+namespace Ogre {
 
 //---------------------------------------------------------------------------//
 ErrorDialog::ErrorDialog()
 {
 	std::cout << "*** ERROR: " << errorMessage << std::endl;
 }
+
+}

File OgreMain/src/GLX/OgreTimer.cpp

 #include "OgreTimer.h"
 #include <sys/time.h>
 
-using namespace Ogre;
+namespace Ogre {
 
 //--------------------------------------------------------------------------------//
 Timer::Timer()
 	clock_t newClock = clock();
 	return (unsigned long)((float)(newClock-zeroClock) / ((float)CLOCKS_PER_SEC/1000000.0)) ;
 }
+
+}

File OgreMain/src/OgreGpuProgramParams.cpp

 
 
 }
-