2013-10-27 17:25:26 -04:00
|
|
|
/*
|
|
|
|
* Copyright 2013 (c) Anna Schumaker.
|
|
|
|
*/
|
2014-06-21 09:37:47 -04:00
|
|
|
#ifndef OCARINA_CORE_LIBRARY_H
|
|
|
|
#define OCARINA_CORE_LIBRARY_H
|
2013-10-27 17:25:26 -04:00
|
|
|
|
2014-06-05 10:19:22 -04:00
|
|
|
#include <core/queue.h>
|
|
|
|
#include <core/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
|
|
|
};
|
|
|
|
|
2014-06-21 09:37:47 -04:00
|
|
|
#endif /* OCARINA_CORE_LIBRARY_H */
|