aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/projectexplorersettings.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-09-25 11:35:44 +0200
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-09-25 11:35:44 +0200
commit978cf4bda8882ddf763e4a353f5cfee729a6d3b6 (patch)
treea4231cf285e618641587af139e2a9d4ab667f7e8 /src/plugins/projectexplorer/projectexplorersettings.h
parente7cef7ef227fb186ccac436413adead6d9e5aa75 (diff)
Rename IRunConfigurationRunner -> IRunControlFactory...
and ApplicationRunConfiguration to LocalApplicationRunConfiguration, preparing remote debugging. Change the interface canRun() to be const, run() to create() (since it does not run anything), use references to the QSharedPointer<Foo>. Introduce d-Pointer and remove unneeded headers from ProjectExplorerPlugin and add missing includes everywhere.
Diffstat (limited to 'src/plugins/projectexplorer/projectexplorersettings.h')
-rw-r--r--src/plugins/projectexplorer/projectexplorersettings.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/projectexplorersettings.h b/src/plugins/projectexplorer/projectexplorersettings.h
new file mode 100644
index 00000000000..995b4dface3
--- /dev/null
+++ b/src/plugins/projectexplorer/projectexplorersettings.h
@@ -0,0 +1,53 @@
+/**************************************************************************
+**
+** This file is part of Qt Creator
+**
+** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+**
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** Commercial Usage
+**
+** Licensees holding valid Qt Commercial licenses may use this file in
+** accordance with the Qt Commercial License Agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Nokia.
+**
+** GNU Lesser General Public License Usage
+**
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file. Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** If you are unsure which license is appropriate for your use, please
+** contact the sales department at http://qt.nokia.com/contact.
+**
+**************************************************************************/
+
+#ifndef PROJECTEXPLORERSETTINGS_H
+#define PROJECTEXPLORERSETTINGS_H
+
+namespace ProjectExplorer {
+namespace Internal {
+
+struct ProjectExplorerSettings
+{
+ bool buildBeforeRun;
+ bool saveBeforeBuild;
+ bool showCompilerOutput;
+ bool useJom;
+ bool operator==(const ProjectExplorerSettings &other) const {
+ return this->buildBeforeRun == other.buildBeforeRun
+ && this->saveBeforeBuild == other.saveBeforeBuild
+ && this->showCompilerOutput == other.showCompilerOutput
+ && this->useJom == other.useJom;
+ }
+};
+
+} // namespace ProjectExplorer
+} // namespace Internal
+
+#endif // PROJECTEXPLORERSETTINGS_H