1.1 --- a/c++/parameter-lister/info/globalcode/parameterLister/OutputModule.h Tue May 05 22:30:28 2015 +0200
1.2 +++ b/c++/parameter-lister/info/globalcode/parameterLister/OutputModule.h Tue May 05 22:46:40 2015 +0200
1.3 @@ -8,16 +8,28 @@
1.4 namespace globalcode {
1.5 namespace parameterLister {
1.6
1.7 +using namespace std;
1.8 +
1.9 class OutputModule {
1.10 public:
1.11 /**
1.12 *
1.13 - * @param output
1.14 - * @param command
1.15 - * @param args
1.16 - * @return exit code
1.17 - */
1.18 - virtual int process(std::ostream &output, std::string &command, std::vector<std::string> &args);
1.19 + * @param output
1.20 + * @param command
1.21 + * @param args
1.22 + * @return exit code
1.23 + */
1.24 + virtual int process(ostream &output, string &command, vector<string> &args);
1.25 +
1.26 +protected:
1.27 + /**
1.28 + * TODO: escape line ends, tabs, esc + deal with unicode/encoding + colorize
1.29 + * @param value
1.30 + * @param colorize
1.31 + * @return
1.32 + */
1.33 + virtual string escapeValue(string value, bool colorize);
1.34 +
1.35 private:
1.36
1.37 };