#ifndef OPENMW_COMPONENTS_FALLBACK_VALIDATE_H #define OPENMW_COMPONENTS_FALLBACK_VALIDATE_H #include #include #include // Parses and validates a fallback map from boost program_options. // Note: for boost to pick up the validate function, you need to pull in the namespace e.g. // by using namespace Fallback; namespace boost { class any; } namespace Fallback { struct FallbackMap { std::map mMap; }; void validate(boost::any& v, std::vector const& tokens, FallbackMap*, int); } #endif