mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2025-08-10 14:09:48 +00:00
Move ValidationError to commonlib.
This commit is contained in:
parent
986f0c8db3
commit
93a5130cc5
10 changed files with 77 additions and 47 deletions
|
@ -18,19 +18,11 @@
|
|||
#ifndef idB6191389C4AD4EE5862CCF1591BE6CE5
|
||||
#define idB6191389C4AD4EE5862CCF1591BE6CE5
|
||||
|
||||
#include <boost/program_options/variables_map.hpp>
|
||||
#include <boost/program_options/errors.hpp>
|
||||
#include "dindexer-common/validationerror.hpp"
|
||||
#include "dindexer-common/mediatypes.hpp"
|
||||
#include <boost/program_options/variables_map.hpp>
|
||||
|
||||
namespace din {
|
||||
class ValidationError : boost::program_options::validation_error {
|
||||
public:
|
||||
explicit ValidationError ( const boost::program_options::validation_error& parOther );
|
||||
~ValidationError ( void ) noexcept = default;
|
||||
|
||||
const std::string& raw_value ( void ) const;
|
||||
};
|
||||
|
||||
bool parse_commandline ( int parArgc, char* parArgv[], boost::program_options::variables_map& parVarMap );
|
||||
} //namespace din
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue