17 #include <QtCore/QString> 18 #include <QtCore/QFile> 34 void close()
override;
35 void write(
const QString &data)
override;
bool open() override
Open a file. File name must be set previously.
Definition: trikOutputDeviceFile.cpp:26
Output device file abstraction.
Definition: outputDeviceFileInterface.h:23
void close() override
Close a file.
Definition: trikOutputDeviceFile.cpp:38
TrikOutputDeviceFile(const QString &fileName)
Constructor.
Definition: trikOutputDeviceFile.cpp:21
void write(const QString &data) override
Write data to a file using UTF-8 encoding.
Definition: trikOutputDeviceFile.cpp:46
QString fileName() const override
Returns name of a file.
Definition: trikOutputDeviceFile.cpp:52
Definition: brickFactory.h:21
Real implementation for output device file (a file to which we can only write).
Definition: trikOutputDeviceFile.h:26