CmdContext: Add list subcommand

This commit is contained in:
Tomas Babej 2015-02-21 13:38:53 +01:00 committed by Paul Beckingham
parent 636f6bfd96
commit edb54a51b3
2 changed files with 68 additions and 0 deletions

View file

@ -36,8 +36,10 @@ public:
CmdContext ();
int execute (std::string&);
std::string joinWords (std::vector <std::string>& words, unsigned int from, unsigned int to = 0);
std::vector <std::string> getContexts ();
int defineContext (std::vector <std::string>& words, std::stringstream& out);
int deleteContext (std::vector <std::string>& words, std::stringstream& out);
int listContexts (std::vector <std::string>& words, std::stringstream& out);
};
class CmdCompletionContext : public Command