diff options
Diffstat (limited to 'src/StateFile.hxx')
-rw-r--r-- | src/StateFile.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/StateFile.hxx b/src/StateFile.hxx index e35797b95..609651c92 100644 --- a/src/StateFile.hxx +++ b/src/StateFile.hxx @@ -27,6 +27,8 @@ #include <string> struct Partition; +class OutputStream; +class BufferedOutputStream; class StateFile final : private TimeoutMonitor { AllocatedPath path; @@ -53,6 +55,9 @@ public: void CheckModified(); private: + bool Write(OutputStream &os, Error &error); + void Write(BufferedOutputStream &os); + /** * Save the current state versions for use with IsModified(). */ |