saiplayer/CommandLineOptionsParser.h (17 lines of code) (raw):

#pragma once #include "CommandLineOptions.h" #include <memory> namespace saiplayer { class CommandLineOptionsParser { private: CommandLineOptionsParser() = delete; ~CommandLineOptionsParser() = delete; public: static std::shared_ptr<CommandLineOptions> parseCommandLine( _In_ int argc, _In_ char **argv); static void printUsage(); }; }