Added DisplaySettings::s/getApplication() to help with gecko plugin initialization when it requires the application name

This commit is contained in:
Robert Osfield
2008-11-20 12:03:21 +00:00
parent d4c1634571
commit 98df67c918
2 changed files with 10 additions and 0 deletions

View File

@@ -195,6 +195,9 @@ class OSG_EXPORT DisplaySettings : public osg::Referenced
/** Get the hint for number of threads in the DatbasePager dedicated to reading http requests.*/
unsigned int getNumOfHttpDatabaseThreadsHint() const { return _numHttpDatabaseThreadsHint; }
void setApplication(const std::string& application) { _application = application; }
const std::string& getApplication() { return _application; }
protected:
@@ -234,6 +237,8 @@ class OSG_EXPORT DisplaySettings : public osg::Referenced
unsigned int _numDatabaseThreadsHint;
unsigned int _numHttpDatabaseThreadsHint;
std::string _application;
};