Partition: new class, container for Playlist and PlayerControl

This is the beginning of multi-player support.  There will be support
for multiple Partition objects in one MPD process.
This commit is contained in:
Max Kellermann
2013-01-04 22:42:05 +01:00
parent 1a8ef3cdab
commit d536944beb
11 changed files with 103 additions and 60 deletions

View File

@@ -20,13 +20,13 @@
#ifndef MPD_STATE_FILE_HXX
#define MPD_STATE_FILE_HXX
struct player_control;
struct Partition;
void
state_file_init(const char *path, struct player_control *pc);
state_file_init(const char *path, Partition &partition);
void
state_file_finish(struct player_control *pc);
state_file_finish(Partition &partition);
void write_state_file(void);