I removed a lot of commented out code that won't be needed anymore. Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
44 lines
618 B
C++
44 lines
618 B
C++
#ifndef LIBSARIA_LIBRARY_H
|
|
#define LIBSARIA_LIBRARY_H
|
|
|
|
#include <libsaria/fs.h>
|
|
#include <libsaria/playlist.h>
|
|
|
|
#include <string>
|
|
using namespace std;
|
|
|
|
namespace libsaria
|
|
{
|
|
|
|
class Track;
|
|
|
|
namespace library
|
|
{
|
|
|
|
struct Path {
|
|
bool visible;
|
|
DataState data_state;
|
|
unsigned int id;
|
|
unsigned int next_track;
|
|
string path;
|
|
list<Track> tracks;
|
|
};
|
|
|
|
class Driver {
|
|
public:
|
|
Driver();
|
|
~Driver();
|
|
|
|
virtual void path_added(Path *) = 0;
|
|
virtual void path_updated(Path *) = 0;
|
|
};
|
|
|
|
void init();
|
|
void add_path(string);
|
|
Playlist *get_playlist();
|
|
|
|
}
|
|
}
|
|
|
|
#endif /* LIBSARIA_LIBRARY_H */
|