17 #include <QtCore/QString> 31 virtual bool open() = 0;
34 virtual void close() = 0;
37 virtual void write(
const QString &data) = 0;
40 virtual QString
fileName()
const = 0;
virtual bool open()=0
Open a file. File name must be set previously.
virtual QString fileName() const =0
Returns name of a file.
virtual ~OutputDeviceFileInterface()=default
Output device file abstraction.
Definition: outputDeviceFileInterface.h:23
virtual void close()=0
Close a file.
OutputDeviceFileInterface()=default
Definition: brickFactory.h:21
virtual void write(const QString &data)=0
Write data to a file using UTF-8 encoding.