1 /**************************************************************************
3 ** This file is part of Qt Creator
5 ** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
7 ** Author: Milian Wolff, KDAB (milian.wolff@kdab.com)
9 ** Contact: Nokia Corporation (info@qt.nokia.com)
12 ** GNU Lesser General Public License Usage
14 ** This file may be used under the terms of the GNU Lesser General Public
15 ** License version 2.1 as published by the Free Software Foundation and
16 ** appearing in the file LICENSE.LGPL included in the packaging of this file.
17 ** Please review the following information to ensure the GNU Lesser General
18 ** Public License version 2.1 requirements will be met:
19 ** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
21 ** In addition, as a special exception, Nokia gives you certain additional
22 ** rights. These rights are described in the Nokia Qt LGPL Exception
23 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
27 ** Alternatively, this file may be used in accordance with the terms and
28 ** conditions contained in a signed written agreement between you and Nokia.
30 ** If you have questions regarding the use of this file, please contact
31 ** Nokia at qt-info@nokia.com.
33 **************************************************************************/
35 #ifndef VALGRIND_PROTOCOL_MEMCHECKRUNNER_H
36 #define VALGRIND_PROTOCOL_MEMCHECKRUNNER_H
38 #include <valgrind/valgrind_global.h>
39 #include <valgrind/valgrindrunner.h>
42 class QProcessEnvironment;
50 namespace XmlProtocol{
56 class VALGRINDSHARED_EXPORT MemcheckRunner : public ValgrindRunner
61 explicit MemcheckRunner(QObject *parent = 0);
64 void setParser(XmlProtocol::ThreadedParser *parser);
69 void logMessageReceived(const QByteArray &);
72 void xmlSocketConnected();
73 void logSocketConnected();
78 Q_DISABLE_COPY(MemcheckRunner);
87 #endif // VALGRIND_PROTOCOL_MEMCHECKRUNNER_H