Added note about getKnownFolder() to getHomeFolder() deprecation hint.
This commit is contained in:
parent
bd06118b29
commit
7da2f7b7f4
@ -80,7 +80,7 @@ class FileSystemAdapter
|
|||||||
public:
|
public:
|
||||||
virtual ~FileSystemAdapter() = default;
|
virtual ~FileSystemAdapter() = default;
|
||||||
|
|
||||||
[[deprecated("Will be removed ASAP")]]
|
[[deprecated("Will be removed ASAP, use getKnownFolder(KnownFolder::USER_HOME) from platform/folders.hpp instead.")]]
|
||||||
[[nodiscard]] virtual fs::path getHomeFolder() { return {}; } // TODO: get rid of this ...
|
[[nodiscard]] virtual fs::path getHomeFolder() { return {}; } // TODO: get rid of this ...
|
||||||
[[nodiscard]] virtual std::vector<FileInfo> listFiles(const fs::path& folder) = 0;
|
[[nodiscard]] virtual std::vector<FileInfo> listFiles(const fs::path& folder) = 0;
|
||||||
[[nodiscard]] virtual FileInfo getFileInfo(const fs::path& file) = 0;
|
[[nodiscard]] virtual FileInfo getFileInfo(const fs::path& file) = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user