#pragma once #include #include #include "playlist.h" class PlaylistManager { private: std::map _map; std::map _playlists; std::vector _unmapped_folders; public: PlaylistManager(); Playlist* get_playlist_for_id(String id); Playlist* get_playlist_for_folder(String folder); void dump_ids(); String json(); bool add_mapping(String id, String folder); };