diff options
Diffstat (limited to 'mg_tools.h')
-rw-r--r-- | mg_tools.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -84,6 +84,11 @@ class mgLog std::string trim(std::string const& source, char const* delims = " \t\r\n"); +//! \brief extracts folder names from a filename +// \param filename the full path +// \param folders an array of char * where the single folders will be placed in +// \param fcount the maximum number of folders that can be returned +// \return a buffer hold all folder strings char *SeparateFolders(const char *filename, char * folders[],unsigned int fcount); #endif /* _MUGGLE_TOOLS_H */ |