1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-03 17:37:18 +00:00
OpenMW/components/vfs/archive.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
567 B
C++
Raw Normal View History

#ifndef OPENMW_COMPONENTS_VFS_ARCHIVE_H
#define OPENMW_COMPONENTS_VFS_ARCHIVE_H
#include <string>
#include "filemap.hpp"
#include "pathutil.hpp"
namespace VFS
{
class Archive
{
public:
2023-05-31 21:11:03 +00:00
virtual ~Archive() = default;
2023-05-31 21:11:03 +00:00
/// List all resources contained in this archive.
2023-12-17 14:20:48 +00:00
virtual void listResources(FileMap& out) = 0;
2020-12-29 20:45:59 +00:00
/// True if this archive contains the provided normalized file.
virtual bool contains(Path::NormalizedView file) const = 0;
2020-12-29 20:45:59 +00:00
virtual std::string getDescription() const = 0;
};
}
#endif