Flatten src into model, edit and ui, with .h headers
Resources and utilities sit directly in src. The ImGui windows, wizards, popups and helpers are in ui. Headers that would shadow system ones are renamed: math_util, timestamp, subprocess, localization. Includes are written from src.
This commit is contained in:
1 parent
a515267e26
commit
7fb2c607c2
175 files changed
+537
-537
No files matched your search
+23
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
|
||||
#include <filesystem>
|
||||
#include <string>
|
||||
|
||||
namespace anm2ed::util::path
|
||||
{
|
||||
std::filesystem::path to_lower(const std::filesystem::path&);
|
||||
std::filesystem::path backslash_replace(const std::filesystem::path&);
|
||||
std::string to_utf8(const std::filesystem::path&);
|
||||
std::filesystem::path from_utf8(const std::string&);
|
||||
std::filesystem::path make_relative(const std::filesystem::path&);
|
||||
std::filesystem::path make_relative(const std::filesystem::path&, const std::filesystem::path&);
|
||||
|
||||
bool is_exist(const std::filesystem::path&);
|
||||
bool is_executable(const std::filesystem::path&);
|
||||
bool is_extension(const std::filesystem::path&, const std::string&);
|
||||
|
||||
bool ensure_directory(const std::filesystem::path&);
|
||||
|
||||
std::filesystem::path backslash_handle(const std::filesystem::path&);
|
||||
std::filesystem::path case_insensitive_find(const std::filesystem::path&);
|
||||
}
|
||||
Reference in new issue
Block a user