ocarina/libsaria/library/library.h
Bryan Schumaker 2017e8a2f1 libsaria: Play tracks based on inode number
This allows the UI to pass in an inode returned by the track list used
to set up the display.
2011-09-20 08:34:02 -04:00

28 lines
439 B
C++

#ifndef LIBSARIA_LIBRARY_SOURCE_H
#define LIBSARIA_LIBRARY_SOURCE_H
#include <map>
#include <string>
#include <list>
using namespace std;
#include <libsaria/track.h>
#include "path.h"
class Library
{
private:
map<string, LibraryPath> path_map;
public:
Library();
~Library();
void add_path(string);
void update_path(string);
void list_all(list<Track> &);
void play_id(ino_t);
};
#endif /* LIBSARIA_LIBRARY_SOURCE_H */