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
+37
View File
@@ -0,0 +1,37 @@
/**
* @file IPortablePathResolver.h
* @brief Declaration of tc::io::IPortablePathResolver
* @author Jack (jakcron)
* @version 0.1
* @date 2022/02/22
**/
#pragma once
#include <tc/io/IPathResolver.h>
namespace tc { namespace io {
/**
* @class IPortablePathResolver
* @brief This is an extension for the IPathResolver interface that specifies additional methods for setting the current directory. For more information see @ref tc::io::IPathResolver.
*/
class IPortablePathResolver : public IPathResolver
{
public:
virtual ~IPortablePathResolver() = default;
/**
* @brief Set the current directory path
*
* @param path Canonical current directory path.
*/
virtual void setCurrentDirectory(const tc::io::Path& path) = 0;
/**
* @brief Get the current directory path
*
* @return tc::io::Path Canonical current directory path.
*/
virtual const tc::io::Path& getCurrentDirectory() const = 0;
};
}} // namespace tc::io