Changeset View
Changeset View
Standalone View
Standalone View
src/acbf/AcbfBookinfo.h
Show All 16 Lines | |||||
17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public | ||
18 | * License along with this library. If not, see <http://www.gnu.org/licenses/>. | 18 | * License along with this library. If not, see <http://www.gnu.org/licenses/>. | ||
19 | * | 19 | * | ||
20 | */ | 20 | */ | ||
21 | 21 | | |||
22 | #ifndef ACBFBOOKINFO_H | 22 | #ifndef ACBFBOOKINFO_H | ||
23 | #define ACBFBOOKINFO_H | 23 | #define ACBFBOOKINFO_H | ||
24 | 24 | | |||
25 | #include <memory> | ||||
26 | | ||||
25 | #include "AcbfMetadata.h" | 27 | #include "AcbfMetadata.h" | ||
26 | 28 | | |||
27 | #include <QHash> | 29 | #include <QHash> | ||
28 | 30 | | |||
29 | namespace AdvancedComicBookFormat | 31 | namespace AdvancedComicBookFormat | ||
30 | { | 32 | { | ||
31 | class Author; | 33 | class Author; | ||
32 | class Page; | 34 | class Page; | ||
▲ Show 20 Lines • Show All 70 Lines • ▼ Show 20 Line(s) | 46 | public: | |||
103 | void addDatabaseRef(DatabaseRef* databaseRef); | 105 | void addDatabaseRef(DatabaseRef* databaseRef); | ||
104 | void removeDatabaseRef(DatabaseRef* databaseRef); | 106 | void removeDatabaseRef(DatabaseRef* databaseRef); | ||
105 | 107 | | |||
106 | QList<ContentRating*> contentRating(); | 108 | QList<ContentRating*> contentRating(); | ||
107 | void addContentRating(ContentRating* contentRating); | 109 | void addContentRating(ContentRating* contentRating); | ||
108 | void removeContentRating(ContentRating* contentRating); | 110 | void removeContentRating(ContentRating* contentRating); | ||
109 | private: | 111 | private: | ||
110 | class Private; | 112 | class Private; | ||
111 | Private* d; | 113 | std::unique_ptr<Private> d; | ||
112 | }; | 114 | }; | ||
113 | } | 115 | } | ||
114 | 116 | | |||
115 | #endif//ACBFBOOKINFO_H | 117 | #endif//ACBFBOOKINFO_H |