blob: e265a5491ca6140ec625483d35d0fb3050f250d0 (
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#include "customcommanddeploystep.h"
#include "killappstep.h"
#include "linuxdevice.h"
#include "remotelinux_constants.h"
#include "remotelinuxcustomrunconfiguration.h"
#include "remotelinuxdebugsupport.h"
#include "remotelinuxdeploysupport.h"
#include "remotelinuxrunconfiguration.h"
#include "tarpackagecreationstep.h"
#include "tarpackagedeploystep.h"
#include <extensionsystem/iplugin.h>
#include <utils/fsengine/fsengine.h>
#ifdef WITH_TESTS
#include "filesystemaccess_test.h"
#endif
using namespace Utils;
namespace RemoteLinux::Internal {
class RemoteLinuxPlugin final : public ExtensionSystem::IPlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "RemoteLinux.json")
public:
RemoteLinuxPlugin()
{
FSEngine::registerDeviceScheme(u"ssh");
}
~RemoteLinuxPlugin() final
{
FSEngine::unregisterDeviceScheme(u"ssh");
}
void initialize() final
{
setupLinuxDevice();
setupRemoteLinuxRunConfiguration();
setupRemoteLinuxCustomRunConfiguration();
setupRemoteLinuxRunAndDebugSupport();
setupRemoteLinuxDeploySupport();
setupTarPackageCreationStep();
setupTarPackageDeployStep();
setupCustomCommandDeployStep();
setupKillAppStep();
#ifdef WITH_TESTS
addTest<FileSystemAccessTest>();
#endif
}
};
} // RemoteLinux::Internal
#include "remotelinuxplugin.moc"
|