2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2011-03-04 12:15:18 +01:00
|
|
|
|
2016-03-18 07:55:01 +01:00
|
|
|
#pragma once
|
2011-03-04 12:15:18 +01:00
|
|
|
|
2012-02-15 10:42:41 +01:00
|
|
|
#include <QSharedDataPointer>
|
2023-08-05 10:55:52 +02:00
|
|
|
#include <QList>
|
2011-03-04 12:15:18 +01:00
|
|
|
|
|
|
|
|
namespace Valgrind {
|
|
|
|
|
namespace XmlProtocol {
|
|
|
|
|
|
|
|
|
|
class Frame;
|
|
|
|
|
|
2011-07-05 10:40:37 +02:00
|
|
|
class AnnounceThread {
|
2011-03-04 12:15:18 +01:00
|
|
|
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);
|
|
|
|
|
|
2023-08-05 10:55:52 +02:00
|
|
|
QList<Frame> stack() const;
|
|
|
|
|
void setStack(const QList<Frame> &stack);
|
2011-03-04 12:15:18 +01:00
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
class Private;
|
|
|
|
|
QSharedDataPointer<Private> d;
|
|
|
|
|
};
|
|
|
|
|
|
2011-05-18 17:05:49 +02:00
|
|
|
} // namespace XmlProtocol
|
|
|
|
|
} // namespace Valgrind
|