From Joakim Simonsson, added osgDB::concateFile and osgDB::getRealPath.

Tweaks by Robert Osfield - Moved methods to FileNameUtils, added unix
implementation of getRealPath add extern and OSGDB_EXPORT to function declarations.
This commit is contained in:
Robert Osfield
2007-01-17 15:59:29 +00:00
parent d63b351137
commit 3ebc5efe05
3 changed files with 50 additions and 14 deletions

View File

@@ -41,6 +41,13 @@ extern OSGDB_EXPORT bool containsServerAddress(const std::string& filename);
extern OSGDB_EXPORT std::string getServerAddress(const std::string& filename);
extern OSGDB_EXPORT std::string getServerFileName(const std::string& filename);
/** Concatenates two paths */
extern OSGDB_EXPORT std::string concatPaths(const std::string& left, const std::string& right);
/** Removes .. and . dirs in a path */
extern OSGDB_EXPORT std::string getRealPath(const std::string& path);
}
#endif