~zeller-benjamin/qtcreator-plugin-ubuntu/qtc41-beta

« back to all changes in this revision

Viewing changes to ubunturuncontrolfactory.h

  • Committer: Juhapekka Piiroinen
  • Date: 2013-09-04 15:30:00 UTC
  • mto: (23.1.14 binary-plugin)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: juhapekka.piiroinen@canonical.com-20130904153000-r4lhfhrjlwmop277
Added cordova plugin from ubuntu-qtcreator-plugins.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Copyright 2013 Canonical Ltd.
3
 
 *
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.
7
 
 *
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.
12
 
 *
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/>.
15
 
 *
16
 
 * Author: Juhapekka Piiroinen <juhapekka.piiroinen@canonical.com>
17
 
 */
18
 
 
19
 
#ifndef UBUNTURUNCONTROLFACTORY_H
20
 
#define UBUNTURUNCONTROLFACTORY_H
21
 
 
22
 
#include <QObject>
23
 
#include "ubunturuncontrol.h"
24
 
#include "ubuntuproject.h"
25
 
 
26
 
#include <coreplugin/actionmanager/command.h>
27
 
#include <coreplugin/actionmanager/actioncontainer.h>
28
 
#include <coreplugin/actionmanager/actionmanager.h>
29
 
#include <coreplugin/coreconstants.h>
30
 
#include <coreplugin/icontext.h>
31
 
#include <coreplugin/mimedatabase.h>
32
 
#include <coreplugin/messagemanager.h>
33
 
#include <coreplugin/icore.h>
34
 
#include <coreplugin/idocument.h>
35
 
#include <coreplugin/documentmanager.h>
36
 
#include <projectexplorer/iprojectmanager.h>
37
 
#include <projectexplorer/projectexplorerconstants.h>
38
 
#include <projectexplorer/projectexplorer.h>
39
 
#include <projectexplorer/projectnodes.h>
40
 
#include <projectexplorer/project.h>
41
 
#include <projectexplorer/kitmanager.h>
42
 
#include <projectexplorer/target.h>
43
 
#include <projectexplorer/session.h>
44
 
#include <projectexplorer/runconfiguration.h>
45
 
#include <projectexplorer/applicationlauncher.h>
46
 
 
47
 
namespace Ubuntu {
48
 
namespace Internal {
49
 
 
50
 
class UbuntuRunControlFactory : public ProjectExplorer::IRunControlFactory
51
 
{
52
 
    Q_OBJECT
53
 
public:
54
 
    explicit UbuntuRunControlFactory() = default;
55
 
    virtual ~UbuntuRunControlFactory() {}
56
 
 
57
 
    bool canRun(ProjectExplorer::RunConfiguration *runConfiguration, ProjectExplorer::RunMode mode) const;
58
 
    ProjectExplorer::RunControl *create(ProjectExplorer::RunConfiguration *runConfiguration,
59
 
                                        ProjectExplorer::RunMode mode, QString *);
60
 
    QString displayName() const;
61
 
    
62
 
};
63
 
 
64
 
}
65
 
}
66
 
#endif // UBUNTURUNCONTROLFACTORY_H