X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp%2FArguments.h;fp=src%2Fapp%2FArguments.h;h=c7e37eee1419209d95cb2db9453982376de71c09;hb=7830acc2ab78d0c82a72948c4eb87eeb6463693c;hp=0000000000000000000000000000000000000000;hpb=cddc8a96cce6117dac14248455ac70d332a4a9f8;p=l2e.git diff --git a/src/app/Arguments.h b/src/app/Arguments.h new file mode 100644 index 0000000..c7e37ee --- /dev/null +++ b/src/app/Arguments.h @@ -0,0 +1,37 @@ +/* + * Arguments.h + * + * Created on: Sep 15, 2012 + * Author: holy + */ + +#ifndef APP_ARGUMENTS_H_ +#define APP_ARGUMENTS_H_ + +#include + +namespace app { + +class Arguments { + +public: + Arguments(); + ~Arguments() { } + +public: + void Read(int argc, char **argv); + + const std::vector &Infiles() const { return infiles; } + + bool OutfileSet() const { return outfile; } + const char *OutfilePath() const { return outfile; } + +private: + std::vector infiles; + const char *outfile; + +}; + +} + +#endif /* APP_ARGUMENTS_H_ */