diff --git a/include/osgDB/Registry b/include/osgDB/Registry index eacd33926..586f0372a 100644 --- a/include/osgDB/Registry +++ b/include/osgDB/Registry @@ -466,17 +466,7 @@ class OSGDB_EXPORT Registry : public osg::Referenced /** get the attached library with specified name.*/ DynamicLibrary* getLibrary(const std::string& fileName); - - /** Set the DatabasePager.*/ - void setDatabasePager(DatabasePager* databasePager) { _databasePager = databasePager; } - /** Get the DatabasePager, creating one if one is not already created.*/ - DatabasePager* getOrCreateDatabasePager(); - - /** Get the DatabasePager. Return 0 if no DatabasePager has been assigned.*/ - DatabasePager* getDatabasePager() { return _databasePager.get(); } - - /** Set the SharedStateManager.*/ void setSharedStateManager(SharedStateManager* SharedStateManager) { _sharedStateManager = SharedStateManager; } @@ -609,7 +599,6 @@ class OSGDB_EXPORT Registry : public osg::Referenced ArchiveExtensionList _archiveExtList; - osg::ref_ptr _databasePager; osg::ref_ptr _sharedStateManager; }; diff --git a/src/osgDB/Registry.cpp b/src/osgDB/Registry.cpp index 9937fd600..680f59efe 100644 --- a/src/osgDB/Registry.cpp +++ b/src/osgDB/Registry.cpp @@ -324,10 +324,6 @@ void Registry::destruct() { // osg::notify(osg::NOTICE)<<"Registry::destruct()"< #include #include -#include #include #include #include @@ -542,21 +541,6 @@ BEGIN_OBJECT_REFLECTOR(osgDB::Registry) __DynamicLibrary_P1__getLibrary__C5_std_string_R1, "get the attached library with specified name. ", ""); - I_Method1(void, setDatabasePager, IN, osgDB::DatabasePager *, databasePager, - Properties::NON_VIRTUAL, - __void__setDatabasePager__DatabasePager_P1, - "Set the DatabasePager. ", - ""); - I_Method0(osgDB::DatabasePager *, getOrCreateDatabasePager, - Properties::NON_VIRTUAL, - __DatabasePager_P1__getOrCreateDatabasePager, - "Get the DatabasePager, creating one if one is not already created. ", - ""); - I_Method0(osgDB::DatabasePager *, getDatabasePager, - Properties::NON_VIRTUAL, - __DatabasePager_P1__getDatabasePager, - "Get the DatabasePager. ", - "Return 0 if no DatabasePager has been assigned. "); I_Method1(void, setSharedStateManager, IN, osgDB::SharedStateManager *, SharedStateManager, Properties::NON_VIRTUAL, __void__setSharedStateManager__SharedStateManager_P1, @@ -617,9 +601,6 @@ BEGIN_OBJECT_REFLECTOR(osgDB::Registry) I_SimpleProperty(const osgDB::FilePathList &, DataFilePathList, __C5_FilePathList_R1__getDataFilePathList, __void__setDataFilePathList__C5_FilePathList_R1); - I_SimpleProperty(osgDB::DatabasePager *, DatabasePager, - __DatabasePager_P1__getDatabasePager, - __void__setDatabasePager__DatabasePager_P1); I_SimpleProperty(osgDB::FileCache *, FileCache, __FileCache_P1__getFileCache, __void__setFileCache__FileCache_P1);