mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-26 02:14:22 +00:00
New class: Result, for returning error messages from operations. Used this class to report file errors in FileInputStream and FileOutputStream.
This commit is contained in:
parent
e9bdd1d637
commit
6f0740d466
29 changed files with 821 additions and 150 deletions
|
|
@ -36,6 +36,7 @@ int64 juce_fileSetPosition (void* handle, int64 pos);
|
|||
FileOutputStream::FileOutputStream (const File& f, const int bufferSize_)
|
||||
: file (f),
|
||||
fileHandle (nullptr),
|
||||
status (Result::ok()),
|
||||
currentPosition (0),
|
||||
bufferSize (bufferSize_),
|
||||
bytesInBuffer (0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue