diff options
Diffstat (limited to 'base/file_util.h')
-rw-r--r-- | base/file_util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/base/file_util.h b/base/file_util.h index 67cd59f..cf17cb3 100644 --- a/base/file_util.h +++ b/base/file_util.h @@ -77,6 +77,8 @@ std::wstring GetFilenameFromPath(const std::wstring& path); // Returns "jpg" for path "C:\pics\jojo.jpg", or an empty string if // the file has no extension. +FilePath::StringType GetFileExtensionFromPath(const FilePath& path); +// Deprecated temporary compatibility function. std::wstring GetFileExtensionFromPath(const std::wstring& path); // Returns 'jojo' for path "C:\pics\jojo.jpg". |