aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/registerpostmortemaction.h
blob: 6528e6c511fda1ae65547c53afdfcd07744a273d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0

#pragma once

#include <utils/aspects.h>

namespace Debugger {
namespace Internal {

class RegisterPostMortemAction : public Utils::BoolAspect
{
public:
    RegisterPostMortemAction();
    void readSettings(const QSettings *settings = nullptr) override;
    void writeSettings(QSettings *) const override {}

private:
    void registerNow(bool value);
};

} // namespace Internal
} // namespace Debugger