Mercurial > otakunoraifu
comparison 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 |
comparison
equal
deleted
inserted
replaced
28:f1f22bfc4496 | 29:d229cce98f50 |
---|---|
170 void SetSysvar(int v) { SetSysvar(TYPE_SYS_SYS, v); } | 170 void SetSysvar(int v) { SetSysvar(TYPE_SYS_SYS, v); } |
171 void SetFlagvar(VarInfo info, int v); | 171 void SetFlagvar(VarInfo info, int v); |
172 void SetStrvar(VarInfo info, const std::string& s); | 172 void SetStrvar(VarInfo info, const std::string& s); |
173 bool IsError() { return errorflag;} | 173 bool IsError() { return errorflag;} |
174 void clear(void); | 174 void clear(void); |
175 virtual const char * CmdDescr(int, int, int, int) { return "Not supported"; } | |
175 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;} | 176 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;} |
176 void read(const CmdSimplified& cmd); | 177 void read(const CmdSimplified& cmd); |
177 void write(CmdSimplified& cmd, char*& args_buffer) const; | 178 void write(CmdSimplified& cmd, char*& args_buffer) const; |
178 }; | 179 }; |
179 | 180 |