16#include <QDomDocument>
43 bool write(
const QList<Book*> bookList);
53 QDomElement createBookElement(QDomDocument &doc,
const Book *book);
This file contains the declaration of the Book class.
The Book class represents a book object.
Definition book.h:23
The BookWriter class is responsible for serializing a list of books to an XML file....
Definition bookwriter.h:27
BookWriter(const QString &fileName)
Construct a new BookWriter object.
Definition bookwriter.cpp:13
bool write(const QList< Book * > bookList)
Write a list of books to the file.
Definition bookwriter.cpp:19
The FileWriter class is responsible for writing a string to a file.
Definition filewriter.h:22
This file contains the declaration of the FileWriter class.