mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-03 16:59:04 +00:00
37 lines
993 B
C++
37 lines
993 B
C++
/**
|
|
* @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
|