Move dependencies to the top level.

This commit is contained in:
jakcron
2022-04-16 18:27:14 +08:00
parent b67980d3d2
commit 5d62e839e7
844 changed files with 74 additions and 114431 deletions
@@ -1,40 +0,0 @@
/**
* @file IPathResolver.h
* @brief Declaration of tc::io::IPathResolver
* @author Jack (jakcron)
* @version 0.2
* @date 2022/02/22
**/
#pragma once
#include <tc/io/Path.h>
namespace tc { namespace io {
/**
* @class IPathResolver
* @brief This is an interface for a class that resolves relative paths to canonical paths.
*/
class IPathResolver
{
public:
virtual ~IPathResolver() = default;
/**
* @brief Resolve path to its canonical path
*
* @param path Input path.
* @param canonical_path Output path to write resolved canonical path.
*/
virtual void resolveCanonicalPath(const tc::io::Path& path, tc::io::Path& canonical_path) const = 0;
/**
* @brief Resolve path to its canonical path
*
* @param path Input path.
*
* @return Resolved canonical path.
*/
virtual tc::io::Path resolveCanonicalPath(const tc::io::Path& path) const = 0;
};
}} // namespace tc::io