ocarina/include/library.h
Anna Schumaker 208e53c7e9 library: Update the code and unit test
Lots of changes here!  I switched from using track and library ids to
passing pointers, renamed some functions, and made the code much
cleaner.

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2014-05-24 12:48:47 -04:00

27 lines
390 B
C++

/*
* Copyright 2013 (c) Anna Schumaker.
*/
#ifndef OCARINA_LIBRARY_H
#define OCARINA_LIBRARY_H
#include <queue.h>
#include <tags.h>
#include <string>
namespace library
{
void init();
Library *add(const std::string &);
void remove(Library *);
void update(Library *);
void update_all();
void set_enabled(Library *, bool);
Queue *get_queue();
};
#endif /* OCARINA_LIBRARY_H */