blob: ee1d065f92d5932a77d5e9b0e7e967a77b432113 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
// 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 <utils/id.h>
#include <QDialog>
namespace ProjectExplorer { class Kit; }
namespace Utils { class FilePath; }
namespace Debugger::Internal {
class AttachCoreDialog : public QDialog
{
public:
explicit AttachCoreDialog(QWidget *parent);
~AttachCoreDialog() override;
int exec() override;
Utils::FilePath symbolFile() const;
Utils::FilePath coreFile() const;
Utils::FilePath overrideStartScript() const;
Utils::FilePath sysRoot() const;
// For persistance.
ProjectExplorer::Kit *kit() const;
void setSymbolFile(const Utils::FilePath &symbolFilePath);
void setCoreFile(const Utils::FilePath &coreFilePath);
void setOverrideStartScript(const Utils::FilePath &scriptName);
void setSysRoot(const Utils::FilePath &sysRoot);
void setKitId(Utils::Id id);
Utils::FilePath coreFileCopy() const;
Utils::FilePath symbolFileCopy() const;
void accepted();
private:
void changed();
void coreFileChanged(const Utils::FilePath &core);
class AttachCoreDialogPrivate *d;
};
} // Debugger::Internal
|