20 lines
433 B
C#
20 lines
433 B
C#
using System.IO;
|
|
|
|
namespace Lucidiot.Raima {
|
|
/// <summary>
|
|
/// Abstraction layer to store all of the database's files.
|
|
/// </summary>
|
|
public interface IDatabaseStorage {
|
|
bool CanRead { get; }
|
|
bool CanWrite { get; }
|
|
|
|
bool Exists(string fileName);
|
|
|
|
BinaryReader GetReader(string fileName);
|
|
|
|
BinaryWriter GetWriter(string fileName);
|
|
|
|
void Delete(string fileName);
|
|
}
|
|
}
|