Skip to content

Commit

Permalink
Move initDirectory out of public VirtualFileSystem interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Mott committed Feb 20, 2019
1 parent b5bfd08 commit 32cb245
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions include/ifilesystem.h
Expand Up @@ -109,10 +109,6 @@ class VirtualFileSystem :
virtual void onFileSystemShutdown() {}
};

/// \brief Adds a root search \p path.
/// Called before \c initialise.
virtual void initDirectory(const std::string& path) = 0;

typedef std::set<std::string> ExtensionSet;

// Initialises the filesystem using the given search order.
Expand Down
2 changes: 1 addition & 1 deletion radiant/vfs/Doom3FileSystem.h
Expand Up @@ -31,7 +31,6 @@ class Doom3FileSystem :
ObserverList _observers;

public:
void initDirectory(const std::string& path) override;
void initialise(const SearchPaths& vfsSearchPaths, const ExtensionSet& allowedExtensions) override;
void shutdown() override;

Expand Down Expand Up @@ -67,6 +66,7 @@ class Doom3FileSystem :
void shutdownModule() override;

private:
void initDirectory(const std::string& path);
void initPakFile(const std::string& filename);
};

Expand Down

0 comments on commit 32cb245

Please sign in to comment.