#include "rar.hpp"
File::File()
{ … }
File::~File()
{ … }
void File::operator = (File &SrcFile)
{ … }
bool File::Open(const std::wstring &Name,uint Mode)
{ … }
#if !defined(SFX_MODULE)
void File::TOpen(const std::wstring &Name)
{ … }
#endif
bool File::WOpen(const std::wstring &Name)
{ … }
bool File::Create(const std::wstring &Name,uint Mode)
{ … }
#if !defined(SFX_MODULE)
void File::TCreate(const std::wstring &Name,uint Mode)
{ … }
#endif
bool File::WCreate(const std::wstring &Name,uint Mode)
{ … }
bool File::Close()
{ … }
bool File::Delete()
{ … }
bool File::Rename(const std::wstring &NewName)
{ … }
bool File::Write(const void *Data,size_t Size)
{ … }
int File::Read(void *Data,size_t Size)
{ … }
int File::DirectRead(void *Data,size_t Size)
{ … }
void File::Seek(int64 Offset,int Method)
{ … }
bool File::RawSeek(int64 Offset,int Method)
{ … }
int64 File::Tell()
{ … }
void File::Prealloc(int64 Size)
{ … }
byte File::GetByte()
{ … }
void File::PutByte(byte Byte)
{ … }
bool File::Truncate()
{ … }
void File::Flush()
{ … }
void File::SetOpenFileTime(RarTime *ftm,RarTime *ftc,RarTime *fta)
{ … }
void File::SetCloseFileTime(RarTime *ftm,RarTime *fta)
{ … }
void File::SetCloseFileTimeByName(const std::wstring &Name,RarTime *ftm,RarTime *fta)
{ … }
#ifdef _UNIX
void File::StatToRarTime(struct stat &st,RarTime *ftm,RarTime *ftc,RarTime *fta)
{ … }
#endif
void File::GetOpenFileTime(RarTime *ftm,RarTime *ftc,RarTime *fta)
{ … }
int64 File::FileLength()
{ … }
bool File::IsDevice()
{ … }
#ifndef SFX_MODULE
int64 File::Copy(File &Dest,int64 Length)
{ … }
#endif
#if defined(CHROMIUM_UNRAR)
void File::SetFileHandle(FileHandle hF) { … }
#endif