openspades/Sources/Core/IFileSystem.h
2013-08-18 16:18:06 +09:00

25 lines
466 B
C++

//
// IFileSystem.h
// OpenSpades
//
// Created by yvt on 7/12/13.
// Copyright (c) 2013 yvt.jp. All rights reserved.
//
#pragma once
#include <string>
#include <vector>
namespace spades {
class IStream;
class IFileSystem {
public:
virtual std::vector<std::string> EnumFiles(const char *) = 0;
virtual IStream *OpenForReading(const char *) = 0;
virtual IStream *OpenForWriting(const char *) = 0;
virtual bool FileExists(const char *) = 0;
};
}