forked from qt-creator/qt-creator
Change-Id: Ib1bd223b73d1f7399008f91a3c26ff515ab03a0c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
36 lines
816 B
C++
36 lines
816 B
C++
// Copyright (C) 2016 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
|
|
|
#pragma once
|
|
|
|
#include <QSharedDataPointer>
|
|
#include <QList>
|
|
|
|
namespace Valgrind {
|
|
namespace XmlProtocol {
|
|
|
|
class Frame;
|
|
|
|
class AnnounceThread {
|
|
public:
|
|
AnnounceThread();
|
|
AnnounceThread(const AnnounceThread &other);
|
|
~AnnounceThread();
|
|
AnnounceThread &operator=(const AnnounceThread &other);
|
|
void swap(AnnounceThread &other);
|
|
bool operator==(const AnnounceThread &other) const;
|
|
|
|
qint64 helgrindThreadId() const;
|
|
void setHelgrindThreadId(qint64 id);
|
|
|
|
QList<Frame> stack() const;
|
|
void setStack(const QList<Frame> &stack);
|
|
|
|
private:
|
|
class Private;
|
|
QSharedDataPointer<Private> d;
|
|
};
|
|
|
|
} // namespace XmlProtocol
|
|
} // namespace Valgrind
|