diff options
Diffstat (limited to 'src/app/qbs/parser/commandlineoptionpool.cpp')
| -rw-r--r-- | src/app/qbs/parser/commandlineoptionpool.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/app/qbs/parser/commandlineoptionpool.cpp b/src/app/qbs/parser/commandlineoptionpool.cpp index a7a0d7ab7..d675700d8 100644 --- a/src/app/qbs/parser/commandlineoptionpool.cpp +++ b/src/app/qbs/parser/commandlineoptionpool.cpp @@ -43,6 +43,9 @@ CommandLineOption *CommandLineOptionPool::getOption(CommandLineOption::Type type case CommandLineOption::FileOptionType: option = new FileOption; break; + case CommandLineOption::BuildDirectoryOptionType: + option = new BuildDirectoryOption; + break; case CommandLineOption::LogLevelOptionType: option = new LogLevelOption; break; @@ -101,6 +104,11 @@ FileOption *CommandLineOptionPool::fileOption() const return static_cast<FileOption *>(getOption(CommandLineOption::FileOptionType)); } +BuildDirectoryOption *CommandLineOptionPool::buildDirectoryOption() const +{ + return static_cast<BuildDirectoryOption *>(getOption(CommandLineOption::BuildDirectoryOptionType)); +} + LogLevelOption *CommandLineOptionPool::logLevelOption() const { return static_cast<LogLevelOption *>(getOption(CommandLineOption::LogLevelOptionType)); |
