Clean up of headers.
This commit is contained in:
@@ -17,8 +17,6 @@
|
||||
#include <osg/Export>
|
||||
|
||||
#include <ostream>
|
||||
#include <fstream>
|
||||
#include <memory>
|
||||
|
||||
namespace osg {
|
||||
|
||||
@@ -38,15 +36,6 @@ enum NotifySeverity {
|
||||
DEBUG_FP=6
|
||||
};
|
||||
|
||||
/** global notify level. */
|
||||
//extern SG_EXPORT NotifySeverity g_NotifyLevel;
|
||||
|
||||
/** global notify nul stream. added for Mac OSX */
|
||||
//extern SG_EXPORT std::auto_ptr<std::ofstream> g_NotifyNulStream;
|
||||
|
||||
/** global notify nul stream. added for Mac OSX */
|
||||
//extern SG_EXPORT bool g_NotifyInit;
|
||||
|
||||
/** set the notify level, overriding the default or value set by
|
||||
* the environmental variable OSGNOTIFYLEVEL.
|
||||
*/
|
||||
@@ -73,26 +62,7 @@ extern SG_EXPORT bool initNotifyLevel();
|
||||
* stream (like cout) i.e osg::notify(osg::DEBUG) << "Hello Bugs!"<<endl;
|
||||
*/
|
||||
|
||||
//
|
||||
// PJA MAC OSX 30-09-01
|
||||
// previous implementation was causing Mac OSX to misbehave. This version
|
||||
// places less stress on compiler and runs on Mac
|
||||
|
||||
extern SG_EXPORT std::ostream& notify(const NotifySeverity severity);
|
||||
// {
|
||||
// static bool initilized = false;
|
||||
// if (!initilized) initilized = initNotifyLevel();
|
||||
//
|
||||
// if (severity<=g_NotifyLevel)
|
||||
// {
|
||||
// if (severity<=osg::WARN) return std::cerr;
|
||||
// else return std::cout;
|
||||
// }
|
||||
// cout << "doing a notify to null stream "<<osg::g_NotifyLevel<<" "<<osg::g_NotifyNulStream.get()<<" "<<osg::g_NotifyInit<<endl;
|
||||
// //if (osg::g_NotifyNulStream.get()==0L) abort();
|
||||
// return std::cout;
|
||||
// //return *osg::g_NotifyNulStream;
|
||||
// }
|
||||
|
||||
inline std::ostream& notify(void) { return notify(osg::INFO); }
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <vector>
|
||||
#include <list>
|
||||
#include <fstream>
|
||||
#include <ostream>
|
||||
|
||||
namespace osgUtx{
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
#include <osg/Notify>
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#include <osgGA/AnimationPathManipulator>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <fstream>
|
||||
|
||||
using namespace osgGA;
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#include <osg/BlendFunc>
|
||||
|
||||
#include <algorithm>
|
||||
#include <fstream>
|
||||
|
||||
using namespace osgProducer;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user