Clean up of headers.

This commit is contained in:
Robert Osfield
2004-03-07 14:21:11 +00:00
parent bd80dee903
commit ccefa05523
5 changed files with 4 additions and 32 deletions

View File

@@ -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); }

View File

@@ -24,7 +24,6 @@
#include <vector>
#include <list>
#include <fstream>
#include <ostream>
namespace osgUtx{

View File

@@ -13,6 +13,7 @@
#include <osg/Notify>
#include <string>
#include <iostream>
#include <fstream>
using namespace std;

View File

@@ -1,5 +1,6 @@
#include <osgGA/AnimationPathManipulator>
#include <stdio.h>
#include <fstream>
using namespace osgGA;

View File

@@ -5,6 +5,7 @@
#include <osg/BlendFunc>
#include <algorithm>
#include <fstream>
using namespace osgProducer;