2013-10-27 17:25:26 -04:00
|
|
|
/*
|
|
|
|
* Copyright 2013 (c) Anna Schumaker.
|
|
|
|
*/
|
|
|
|
#ifndef OCARINA_LIBRARY_H
|
|
|
|
#define OCARINA_LIBRARY_H
|
|
|
|
|
2014-05-24 12:47:33 -04:00
|
|
|
#include <queue.h>
|
2014-03-29 11:44:39 -04:00
|
|
|
#include <tags.h>
|
2013-10-27 17:25:26 -04:00
|
|
|
#include <string>
|
|
|
|
|
|
|
|
namespace library
|
|
|
|
{
|
|
|
|
|
2013-11-03 16:03:01 -05:00
|
|
|
void init();
|
2014-05-24 12:47:33 -04:00
|
|
|
|
|
|
|
Library *add(const std::string &);
|
|
|
|
void remove(Library *);
|
|
|
|
void update(Library *);
|
2014-01-01 13:34:25 -05:00
|
|
|
void update_all();
|
2014-05-24 12:47:33 -04:00
|
|
|
|
|
|
|
void set_enabled(Library *, bool);
|
|
|
|
Queue *get_queue();
|
|
|
|
|
2013-10-27 17:25:26 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* OCARINA_LIBRARY_H */
|