ultimatepp/uppsrc/ide/CommandLineHandler.h
klugier 09fa778950 Ide: Ide now can display information about version via -v or --version command line parameter.
git-svn-id: svn://ultimatepp.org/upp/trunk@12122 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-07-30 13:43:12 +00:00

33 lines
558 B
C++

#ifndef _ide_Command_Line_Handler_h_
#define _ide_Command_Line_Handler_h_
#include <Core/Core.h>
namespace Upp {
// TODO: All TheIDE command line arguments should be handle in this class.
class CommandLineHandler {
public:
CommandLineHandler(const Vector<String>& args);
bool Handle();
public:
Vector<String> GetArgs() { return clone(args); }
private:
bool HandleManipulators();
bool HandleScale();
bool HandleVersion() const;
bool HandleHelp() const;
bool HandleDebugBreakProcess() const;
private:
Vector<String> args;
};
}
#endif