aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/remotelinux/publickeydeploymentdialog.h
blob: c7e0b59c07ad9200e5ca64592d8b22b700bcbebc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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 <projectexplorer/devicesupport/idevicefwd.h>

#include <utils/filepath.h>

namespace RemoteLinux::Internal {

// Asks for public key and returns true if the file dialog is not canceled.
bool runPublicKeyDeploymentDialog(const ProjectExplorer::DeviceConstRef &device,
                                  const Utils::FilePath &publicKeyFilePath = {});

} // namespace RemoteLinux::Internal