1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-30 21:32:42 +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 23:11:03 +02:00
virtual ~Archive() = default;
2023-05-31 23:11:03 +02:00
/// List all resources contained in this archive.
2023-12-17 15:20:48 +01:00
virtual void listResources(FileMap& out) = 0;
2020-12-29 21:45:59 +01:00
/// True if this archive contains the provided normalized file.
virtual bool contains(Path::NormalizedView file) const = 0;
2020-12-29 21:45:59 +01:00
virtual std::string getDescription() const = 0;
};
}
#endif