mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 05:56:39 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
	
		
			436 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			436 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifndef OPENMW_COMPONENTS_VFS_FILE_H
 | 
						|
#define OPENMW_COMPONENTS_VFS_FILE_H
 | 
						|
 | 
						|
#include <filesystem>
 | 
						|
#include <string>
 | 
						|
 | 
						|
#include <components/files/istreamptr.hpp>
 | 
						|
 | 
						|
namespace VFS
 | 
						|
{
 | 
						|
    class File
 | 
						|
    {
 | 
						|
    public:
 | 
						|
        virtual ~File() = default;
 | 
						|
 | 
						|
        virtual Files::IStreamPtr open() = 0;
 | 
						|
 | 
						|
        virtual std::filesystem::file_time_type getLastModified() const = 0;
 | 
						|
 | 
						|
        virtual std::string getStem() const = 0;
 | 
						|
    };
 | 
						|
}
 | 
						|
 | 
						|
#endif
 |