File browser compatibility, NAM
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
*/
|
||||
#pragma once
|
||||
#include <string>
|
||||
#include <filesystem>
|
||||
|
||||
namespace pipedal {
|
||||
|
||||
inline bool endsWith(const std::string& str, const std::string& suffix)
|
||||
@@ -32,4 +34,5 @@ namespace pipedal {
|
||||
|
||||
std::u32string ToUtf32(const std::string &s);
|
||||
|
||||
inline bool isPathSeperator(char c) { return c == '/' || c == std::filesystem::path::preferred_separator;}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user