1#ifndef RAGE_FILE_DRIVER_DIRECT_H
2#define RAGE_FILE_DRIVER_DIRECT_H
5#include "RageFileDriver.h"
15 int& iError)
override;
16 bool Move(
const std::string& sOldPath,
17 const std::string& sNewPath)
override;
18 bool Remove(
const std::string& sPath)
override;
19 bool Remount(
const std::string& sPath)
override;
31 int& iError)
override;
32 bool Move(
const std::string& sOldPath,
33 const std::string& sNewPath)
override;
34 bool Remove(
const std::string& sPath)
override;
44 int ReadInternal(
void* pBuffer,
size_t iBytes)
override;
45 int WriteInternal(
const void* pBuffer,
size_t iBytes)
override;
46 int FlushInternal()
override;
47 int SeekInternal(
int offset)
override;
49 std::string GetDisplayPath()
const override {
return m_sPath; }
50 int GetFileSize()
const override;
66 bool WriteFailed()
const
68 return ((m_iMode & RageFile::STREAMED) == 0) && m_bWriteFailed;
Definition RageFileBasic.h:10
Definition RageFileDriverDirect.h:26
File driver for accessing a regular filesystem.
Definition RageFileDriverDirect.h:9
Definition RageFileDriver.h:12
This driver handles direct file access.
Definition RageFileDriverDirect.h:40
Definition RageFileBasic.h:66