Add support for multiple configurations in playuverTools

This commit is contained in:
jfmcarreira committed 2016-04-07 00:08:11 +01:00
1 parent eff93de754
commit d151b11c8c
6 files changed
+113 -75

No files matched your search

+6 -1
View File
@@ -1,7 +1,7 @@
/* The copyright in this software is being made available under the BSD
* License, included below. This software may be subject to other third party
* and contributor rights, including patent rights, and no such rights are
* granted under this license.
* granted under this license.
*
* Copyright (c) 2010-2014, ITU/ISO/IEC
* All rights reserved.
@@ -94,6 +94,11 @@ OptionBase* Options::getOption( const std::string& optName )
return NULL;
}
Bool Options::hasOpt( const std::string& optName )
{
return getOption( optName )->count() > 0 ? true : false;
}
void Options::addOption( OptionBase *opt )
{
Option* names = new Option();