summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/customwizard/customwizardparameters.h
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2010-08-24 17:45:21 +0200
committerDavid Boddie <dboddie@trolltech.com>2010-08-24 17:45:21 +0200
commit8e6569663ecbf7389b3df5d86f4ce2d1102b16c0 (patch)
tree290fe9c4af570126949093affc25c7a9fb84e8ed /src/plugins/projectexplorer/customwizard/customwizardparameters.h
parent1cbc4116d3c6fa1320ee4523e45a5f0df004cd3a (diff)
parente5076cc5e50be46b2f2a2307660e5e8603b780ad (diff)
downloadqt-creator-8e6569663ecbf7389b3df5d86f4ce2d1102b16c0.tar.gz
Merge branch '2.0' of scm.dev.nokia.troll.no:creator/mainline into 2.0
Diffstat (limited to 'src/plugins/projectexplorer/customwizard/customwizardparameters.h')
-rw-r--r--src/plugins/projectexplorer/customwizard/customwizardparameters.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/plugins/projectexplorer/customwizard/customwizardparameters.h b/src/plugins/projectexplorer/customwizard/customwizardparameters.h
index f71de2b612..3d5b223d4c 100644
--- a/src/plugins/projectexplorer/customwizard/customwizardparameters.h
+++ b/src/plugins/projectexplorer/customwizard/customwizardparameters.h
@@ -67,12 +67,14 @@ struct CustomWizardFile {
struct CustomWizardParameters
{
public:
+ enum ParseResult { ParseOk, ParseDisabled, ParseFailed };
+
CustomWizardParameters();
void clear();
- bool parse(QIODevice &device, const QString &configFileFullPath,
- Core::BaseFileWizardParameters *bp, QString *errorMessage);
- bool parse(const QString &configFileFullPath,
- Core::BaseFileWizardParameters *bp, QString *errorMessage);
+ ParseResult parse(QIODevice &device, const QString &configFileFullPath,
+ Core::BaseFileWizardParameters *bp, QString *errorMessage);
+ ParseResult parse(const QString &configFileFullPath,
+ Core::BaseFileWizardParameters *bp, QString *errorMessage);
QString toString() const;
QString directory;