2
* Copyright 2013 Canonical Ltd.
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU Lesser General Public License as published by
6
* the Free Software Foundation; version 2.1.
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU Lesser General Public License for more details.
13
* You should have received a copy of the GNU Lesser General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16
* Author: Juhapekka Piiroinen <juhapekka.piiroinen@canonical.com>
19
#ifndef UBUNTURUNCONTROLFACTORY_H
20
#define UBUNTURUNCONTROLFACTORY_H
23
#include "ubuntuproject.h"
25
#include <coreplugin/actionmanager/command.h>
26
#include <coreplugin/actionmanager/actioncontainer.h>
27
#include <coreplugin/actionmanager/actionmanager.h>
28
#include <coreplugin/coreconstants.h>
29
#include <coreplugin/icontext.h>
30
#include <coreplugin/mimedatabase.h>
31
#include <coreplugin/messagemanager.h>
32
#include <coreplugin/icore.h>
33
#include <coreplugin/idocument.h>
34
#include <coreplugin/documentmanager.h>
35
#include <projectexplorer/iprojectmanager.h>
36
#include <projectexplorer/projectexplorerconstants.h>
37
#include <projectexplorer/projectexplorer.h>
38
#include <projectexplorer/projectnodes.h>
39
#include <projectexplorer/project.h>
40
#include <projectexplorer/kitmanager.h>
41
#include <projectexplorer/target.h>
42
#include <projectexplorer/session.h>
43
#include <projectexplorer/runconfiguration.h>
44
#include <projectexplorer/applicationlauncher.h>
49
class UbuntuRemoteRunControlFactory : public ProjectExplorer::IRunControlFactory
53
explicit UbuntuRemoteRunControlFactory() = default;
54
virtual ~UbuntuRemoteRunControlFactory() {}
56
bool canRun(ProjectExplorer::RunConfiguration *runConfiguration, ProjectExplorer::RunMode mode) const;
57
ProjectExplorer::RunControl *create(ProjectExplorer::RunConfiguration *runConfiguration,
58
ProjectExplorer::RunMode mode, QString *errorMessage);
59
QString displayName() const;
65
#endif // UBUNTURUNCONTROLFACTORY_H