24#ifndef WX_FSTREAM_PROGRESS_H
25#define WX_FSTREAM_PROGRESS_H
27#include <wx/wfstream.h>
33 : wxFileOutputStream( aFileName )
38 : wxFileOutputStream( aFile )
43 : wxFileOutputStream( aFd )
54 virtual size_t OnSysWrite(
const void* aBuffer,
size_t aSize )
override
56 size_t written = wxFileOutputStream::OnSysWrite( aBuffer, aSize );
std::function< void(size_t)> m_callback
virtual size_t OnSysWrite(const void *aBuffer, size_t aSize) override
void SetProgressCallback(std::function< void(size_t)> aCallback)
wxFileOutputStreamWithProgress(const wxString &aFileName)
wxFileOutputStreamWithProgress(int aFd)
wxFileOutputStreamWithProgress(wxFile &aFile)
virtual ~wxFileOutputStreamWithProgress()=default