Refactor DebuggerCommand.

Rename onClient to onClientImpl and move to protected space. Rename onClientD to onClient. Add comments.
Esse commit está contido em:
Herman Venter
2013-05-15 11:40:00 -07:00
commit de Sara Golemon
commit f7da2cfa18
67 arquivos alterados com 261 adições e 116 exclusões
+2 -2
Ver Arquivo
@@ -55,8 +55,8 @@ bool CmdExample::help(DebuggerClient *client) {
return true;
}
bool CmdExample::onClient(DebuggerClient *client) {
if (DebuggerCommand::onClient(client)) return true;
bool CmdExample::onClientImpl(DebuggerClient *client) {
if (DebuggerCommand::onClientImpl(client)) return true;
if (client->argCount() == 1) {
return help(client);
}