Server Meshing
Loading...
Searching...
No Matches
PathFinder.hpp File Reference
#include <shobjidl.h>
#include <filesystem>
#include <optional>
#include <string>
#include <vector>
#include <iostream>
Include dependency graph for PathFinder.hpp:

Namespaces

namespace  CommonUtilities
namespace  CommonUtilities::ProjectPaths

Functions

fs::path CommonUtilities::ProjectPaths::GetExecutableDir ()
bool CommonUtilities::ProjectPaths::HasRootMarker (const fs::path &dir, const std::vector< fs::path > &markers)
std::optional< fs::path > CommonUtilities::ProjectPaths::FindProjectRootUpwards (fs::path startDir, const std::vector< fs::path > &markers)
std::optional< fs::path > CommonUtilities::ProjectPaths::ResolveProjectRoot (const std::vector< fs::path > &markers, const std::optional< fs::path > &cliOverride=std::nullopt, const char *="TGA_PROJECT_ROOT")
std::optional< fs::path > CommonUtilities::ProjectPaths::FindFolderBelow (const fs::path &root, const std::string &targetFolderName, bool followSymlinks=false)
std::wstring CommonUtilities::ProjectPaths::OpenFileDialog ()
std::wstring CommonUtilities::ProjectPaths::OpenFolderDialog ()
bool CommonUtilities::InitPaths (int argc, char **argv)

Variables

std::filesystem::path CommonUtilities::ProjectPaths::gProjectRoot
std::filesystem::path CommonUtilities::ProjectPaths::globalAssetsDir