10 /** Library of books. */
11 class Library: public QObject
16 static Library *instance();
19 int find(QString path) const;
20 int find(const Book *book) const;
21 Book *at(int index) const;
23 Book *current() const;
24 bool add(QString path);
25 void remove(int index);
26 void setCurrent(int index);
30 void bookRemoved(int index);
31 void currentBookChanged();
38 static Library *mInstance;