From 12133c6db5f2327afc508d61d1a6a02d6b558c62 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 21 Aug 2003 19:23:24 +0000 Subject: [PATCH] Made getLibrary public. --- include/osgDB/Registry | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/osgDB/Registry b/include/osgDB/Registry index 553c27acd..24a70f12a 100644 --- a/include/osgDB/Registry +++ b/include/osgDB/Registry @@ -191,6 +191,8 @@ class OSGDB_EXPORT Registry : public osg::Referenced /** Remove all objects in the cache regardless of having external references or expiry times.*/ void clearObjectCache(); + /** get the attached library with specified name.*/ + DynamicLibrary* getLibrary(const std::string& fileName); protected: @@ -211,7 +213,6 @@ class OSGDB_EXPORT Registry : public osg::Referenced /** get the attached library with specified name.*/ DynamicLibraryList::iterator getLibraryItr(const std::string& fileName); - DynamicLibrary* getLibrary(const std::string& fileName); bool _createNodeFromImage;