File indexing completed on 2021-12-21 14:36:55

0001 /*
0002     SPDX-FileCopyrightText: 2008 Rolf Eike Beer <kde@opensource.sf-tec.de>
0003     SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 
0006 #ifndef KLINEBUFFEREDPROCESSPRIVATE_H
0007 #define KLINEBUFFEREDPROCESSPRIVATE_H
0008 
0009 class KLineBufferedProcess;
0010 
0011 class KLineBufferedProcessPrivate : public QObject
0012 {
0013 public:
0014     explicit KLineBufferedProcessPrivate(KLineBufferedProcess *parent);
0015 
0016     void _k_receivedStdout();
0017     void _k_receivedStderr();
0018 
0019     QByteArray m_stdoutBuffer;
0020     QByteArray m_stderrBuffer;
0021     int m_newlineInStdout;
0022     int m_newlineInStderr;
0023     KLineBufferedProcess * const m_parent;
0024     const QByteArray m_lineEnd;
0025 };
0026 
0027 #endif // KLINEBUFFEREDPROCESSPRIVATE_H