20#ifndef KIPLATFORM_IO_H_
21#define KIPLATFORM_IO_H_
61 void* m_fileHandle =
nullptr;
62 void* m_mapHandle =
nullptr;
133 bool OpenForInspect(
const wxString& aPath,
bool& aHeldByAnother );
140 bool ReadAll( std::string& aContents )
const;
145 bool Rewrite(
const std::string& aContents );
154 void* m_handle =
nullptr;
178 FILE*
SeqFOpen(
const wxString& aPath,
const wxString& mode );
215 long long TimestampDir(
const wxString& aDirPath,
const wxString& aFilespec );
261 bool AtomicRename(
const wxString& aSrc,
const wxString& aDst, wxString* aError =
nullptr );
283 wxString* aTempPathOut, wxString* aError =
nullptr );
339 bool CommitTempFile(
const wxString& aTempPath,
const wxString& aTargetPath,
340 wxString* aError =
nullptr );
359 bool AtomicWriteFile(
const wxString& aTargetPath,
const void* aData,
size_t aSize,
360 wxString* aError =
nullptr );