Made the osg::ApplicationUsage forward declared.

Added include of ostream to ArgumentParser header.
This commit is contained in:
Robert Osfield
2003-02-18 21:10:42 +00:00
parent 4f0972f3c3
commit cabc0025cb
2 changed files with 9 additions and 0 deletions

View File

@@ -1,7 +1,15 @@
#include <osg/ArgumentParser>
#include <osg/ApplicationUsage>
using namespace osg;
ArgumentParser::ArgumentParser(int* argc,char **argv):
_argc(argc),
_argv(argv),
_usage(ApplicationUsage::instance())
{
}
std::string ArgumentParser::getProgramName() const
{
if (_argc>0) return std::string(_argv[0]);

View File

@@ -11,6 +11,7 @@
* OpenSceneGraph Public License for more details.
*/
#include <osg/DisplaySettings>
#include <osg/ArgumentParser>
#include <osg/ApplicationUsage>
#include <osg/ref_ptr>