summaryrefslogtreecommitdiff
path: root/src/StateFile.hxx
diff options
context:
space:
mode:
authorDenis Krjuchkov <denis@crazydev.net>2013-02-02 20:42:24 +0600
committerDenis Krjuchkov <denis@crazydev.net>2013-02-02 20:52:04 +0600
commit2bb751d9fac54c2b94499d476735730e416a8f4f (patch)
treedfccd7aa38b400051556caf38de161e815880588 /src/StateFile.hxx
parent3b620112ca8f4bb3fa5ae01c8ee44ee850ff0818 (diff)
StateFile: use file system API, log in UTF-8
Diffstat (limited to 'src/StateFile.hxx')
-rw-r--r--src/StateFile.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/StateFile.hxx b/src/StateFile.hxx
index bb1c382f4..9ec97d518 100644
--- a/src/StateFile.hxx
+++ b/src/StateFile.hxx
@@ -30,6 +30,7 @@ struct Partition;
class StateFile final : private TimeoutMonitor {
Path path;
+ std::string path_utf8;
Partition &partition;
@@ -41,7 +42,8 @@ class StateFile final : private TimeoutMonitor {
prev_playlist_version;
public:
- StateFile(Path &&path, Partition &partition, EventLoop &loop);
+ StateFile(Path &&path, const char *path_utf8,
+ Partition &partition, EventLoop &loop);
void Read();
void Write();