Mercurial > otakunoraifu
diff scn2k/scn2k.h @ 29:d229cce98f50
* no more (or, at least, less) duplicate code between scn2kdump and the rest
author | thib |
---|---|
date | Fri, 06 Mar 2009 20:02:26 +0000 |
parents | 223b71206888 |
children | f1fbe5b37a1e |
line wrap: on
line diff
--- a/scn2k/scn2k.h +++ b/scn2k/scn2k.h @@ -172,6 +172,7 @@ public: void SetStrvar(VarInfo info, const std::string& s); bool IsError() { return errorflag;} void clear(void); + virtual const char * CmdDescr(int, int, int, int) { return "Not supported"; } Cmd(const Flags& f, int _sys_ver) : flags(f), system_version(_sys_ver) { cmd_type = CMD_NOP; argc = 0; errorflag = false; cmdstr[0] = 0; strend = 0; pos = -1;} void read(const CmdSimplified& cmd); void write(CmdSimplified& cmd, char*& args_buffer) const;