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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user