mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-04 16:59:02 +00:00
Move dependencies to the top level.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user