diff -r 48a3c9c50937 -r 0684883953ba c++/parameter-lister/info/globalcode/parameterLister/OutputModule.h --- a/c++/parameter-lister/info/globalcode/parameterLister/OutputModule.h Tue May 05 22:30:28 2015 +0200 +++ b/c++/parameter-lister/info/globalcode/parameterLister/OutputModule.h Tue May 05 22:46:40 2015 +0200 @@ -8,16 +8,28 @@ namespace globalcode { namespace parameterLister { +using namespace std; + class OutputModule { public: /** * - * @param output - * @param command - * @param args - * @return exit code - */ - virtual int process(std::ostream &output, std::string &command, std::vector &args); + * @param output + * @param command + * @param args + * @return exit code + */ + virtual int process(ostream &output, string &command, vector &args); + +protected: + /** + * TODO: escape line ends, tabs, esc + deal with unicode/encoding + colorize + * @param value + * @param colorize + * @return + */ + virtual string escapeValue(string value, bool colorize); + private: };