aboutsummaryrefslogtreecommitdiffstats
path: root/src/StateFile.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/StateFile.hxx')
-rw-r--r--src/StateFile.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/StateFile.hxx b/src/StateFile.hxx
index 4ec2c4be7..609651c92 100644
--- a/src/StateFile.hxx
+++ b/src/StateFile.hxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2013 The Music Player Daemon Project
+ * Copyright (C) 2003-2014 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -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().
*/