1
0
Fork 0
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:
Julian Storer 2011-04-16 17:08:53 +01:00
parent e9bdd1d637
commit 6f0740d466
29 changed files with 821 additions and 150 deletions

View file

@ -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),