[VFS] Make ResolvePath / Dump virtual

This commit is contained in:
Dr. Chat
2018-05-26 18:43:07 -05:00
parent 9231317eeb
commit 728ed593ad
8 changed files with 90 additions and 31 deletions

View File

@@ -26,6 +26,8 @@ class HostPathDevice : public Device {
~HostPathDevice() override;
bool Initialize() override;
void Dump(StringBuffer* string_buffer) override;
Entry* ResolvePath(std::string path) override;
bool is_read_only() const override { return read_only_; }
@@ -38,6 +40,7 @@ class HostPathDevice : public Device {
void PopulateEntry(HostPathEntry* parent_entry);
std::wstring local_path_;
std::unique_ptr<Entry> root_entry_;
bool read_only_;
};