10 #ifndef _STRUS_BASE_FILELOCATOR_INTERFACE_HPP_INCLUDED
11 #define _STRUS_BASE_FILELOCATOR_INTERFACE_HPP_INCLUDED
Interface for locating resource files and working directory.
Definition: fileLocatorInterface.hpp:21
virtual std::vector< std::string > getResourcePaths() const =0
Get all resource paths.
virtual ~FileLocatorInterface()
Desructor.
Definition: fileLocatorInterface.hpp:25
virtual void addResourcePath(const std::string &path)=0
Declare a path for locating resource files.
virtual void defineWorkingDirectory(const std::string &workdir)=0
Define the working directory where to write files to.
virtual std::string getResourceFilePath(const std::string &filename) const =0
Get the absolute path of a resource file.
virtual std::string getWorkingDirectory() const =0
Get the current working directory, the root directory of files and directories written.