comparison data/fileio/BZipFileDevice.h @ 1599:ce185d4dd408 bqaudiostream

Merge from default branch
author Chris Cannam
date Wed, 23 Jan 2019 14:43:43 +0000
parents c01cbe41aeb5
children
comparison
equal deleted inserted replaced
1598:d2555df635ec 1599:ce185d4dd408
27 27
28 public: 28 public:
29 BZipFileDevice(QString fileName); 29 BZipFileDevice(QString fileName);
30 virtual ~BZipFileDevice(); 30 virtual ~BZipFileDevice();
31 31
32 virtual bool open(OpenMode mode); 32 bool open(OpenMode mode) override;
33 virtual void close(); 33 void close() override;
34 34
35 virtual bool isOK() const; 35 virtual bool isOK() const;
36 36
37 virtual bool isSequential() const { return true; } 37 bool isSequential() const override { return true; }
38 38
39 protected: 39 protected:
40 virtual qint64 readData(char *data, qint64 maxSize); 40 qint64 readData(char *data, qint64 maxSize) override;
41 virtual qint64 writeData(const char *data, qint64 maxSize); 41 qint64 writeData(const char *data, qint64 maxSize) override;
42 42
43 QString m_fileName; 43 QString m_fileName;
44 44
45 QFile m_qfile; 45 QFile m_qfile;
46 FILE *m_file; 46 FILE *m_file;