Toob Player UI
This commit is contained in:
@@ -21,6 +21,8 @@
|
||||
|
||||
#include <string>
|
||||
#include <cstdint>
|
||||
#include <chrono>
|
||||
#include <filesystem>
|
||||
|
||||
namespace pipedal {
|
||||
|
||||
@@ -29,6 +31,7 @@ class HtmlHelper {
|
||||
public:
|
||||
static std::string timeToHttpDate();
|
||||
static std::string timeToHttpDate(time_t time);
|
||||
static std::string timeToHttpDate(std::filesystem::file_time_type time);
|
||||
|
||||
|
||||
static std::string encode_url_segment(const char*pStart, const char*pEnd, bool isQuerySegment = false);
|
||||
|
||||
@@ -71,6 +71,7 @@ namespace pipedal
|
||||
return contains(vector, std::string(value));
|
||||
}
|
||||
|
||||
bool HasWritePermissions(const std::filesystem::path &path);
|
||||
class NoCopy
|
||||
{
|
||||
public:
|
||||
@@ -114,11 +115,12 @@ namespace pipedal
|
||||
return true;
|
||||
}
|
||||
|
||||
// C locale to lower. Only does 'A'-'Z'.
|
||||
std::string ToLower(const std::string&value);
|
||||
|
||||
std::filesystem::path MakeRelativePath(const std::filesystem::path &path, const std::filesystem::path&parentPath);
|
||||
|
||||
bool IsSubdirectory(const std::filesystem::path &path, const std::filesystem::path &basePath);
|
||||
|
||||
std::string ToLower(const std::string&value);
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user