Changeset View
Changeset View
Standalone View
Standalone View
src/qtquick/BookDatabase.h
Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Line(s) | 39 | public: | |||
---|---|---|---|---|---|
44 | * @return a list of all known books in the database. | 44 | * @return a list of all known books in the database. | ||
45 | */ | 45 | */ | ||
46 | QList<BookEntry*> loadEntries(); | 46 | QList<BookEntry*> loadEntries(); | ||
47 | /** | 47 | /** | ||
48 | * \brief Add a new book to the cache. | 48 | * \brief Add a new book to the cache. | ||
49 | * @param entry The entry to add. | 49 | * @param entry The entry to add. | ||
50 | */ | 50 | */ | ||
51 | void addEntry(BookEntry* entry); | 51 | void addEntry(BookEntry* entry); | ||
52 | /** | ||||
53 | * @brief remove an entry by filename from the cache. | ||||
54 | * @param entry the entry to remove. | ||||
55 | */ | ||||
56 | void removeEntry(BookEntry* entry); | ||||
52 | private: | 57 | private: | ||
53 | class Private; | 58 | class Private; | ||
54 | Private* d; | 59 | Private* d; | ||
55 | }; | 60 | }; | ||
56 | 61 | | |||
57 | #endif//BOOKDATABASE_H | 62 | #endif//BOOKDATABASE_H |