blob: d7141141bb37d2042c622e7acf27dc0349713b44 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#ifndef NULLDEVICE_H
#define NULLDEVICE_H
#include <QIODevice>
class NullDevice : public QIODevice
{
public:
explicit NullDevice(QObject *parent = 0);
qint64 readData(char * data, qint64 maxSize);
qint64 writeData(const char * data, qint64 maxSize);
};
#endif // NULLDEVICE_H
|