ocarina/include/library.h

35 lines
533 B
C
Raw Normal View History

/*
* Copyright 2013 (c) Anna Schumaker.
*/
#ifndef OCARINA_LIBRARY_H
#define OCARINA_LIBRARY_H
#include <tags.h>
#include <string>
namespace library
{
enum DB_Type {
DB_ALBUM,
DB_ARTIST,
DB_GENRE,
DB_LIBRARY,
DB_TRACK,
};
void init();
void add_path(const std::string &);
void del_path(unsigned int);
void update_path(unsigned int);
void update_all();
void set_enabled(unsigned int, bool);
#ifdef CONFIG_TEST
void print_db(DB_Type);
void reset();
#endif /* CONFIG_TEST */
};
#endif /* OCARINA_LIBRARY_H */