#ifndef _ide_Command_Line_Handler_h_ #define _ide_Command_Line_Handler_h_ #include // TODO: All TheIDE command line arguments should be consume in this file. namespace Upp { class ACommandLineHandler { public: ACommandLineHandler(const Vector& args); Vector GetArgs() { return clone(args); } public: virtual bool Handle() = 0; protected: Vector args; }; class BaseCommandLineHandler final : public ACommandLineHandler { public: BaseCommandLineHandler(const Vector& args); public: bool Handle() override; private: bool HandleVersion() const; bool HandleHelp() const; bool HandleDebugBreakProcess() const; }; class MainCommandLineHandler final : public ACommandLineHandler { public: MainCommandLineHandler(const Vector& args); public: bool Handle() override; private: bool HandleManipulators(); bool HandleScale(); }; } #endif