1
/***************************************************************************
3
copyright : (C) 1999 by John Birch
4
email : jbb@kdevelop.org
6
Adapted for ruby debugging
7
--------------------------
9
copyright : (C) 2004 by Richard Dale
10
email : Richard_Dale@tipitina.demon.co.uk
11
***************************************************************************/
13
/***************************************************************************
15
* This program is free software; you can redistribute it and/or modify *
16
* it under the terms of the GNU General Public License as published by *
17
* the Free Software Foundation; either version 2 of the License, or *
18
* (at your option) any later version. *
20
***************************************************************************/
37
DbgCommand(const QCString& command, bool isRunCmd, bool isInfoCmd);
38
virtual ~DbgCommand() {};
40
virtual QCString& cmdToSend() { sent_ = true; return cmdBuffer_; }
41
virtual int cmdLength() { return cmdBuffer_.length(); }
43
QCString rawDbgCommand() const { return command_; }
44
bool isARunCmd() const { return isRunCmd_;}
45
bool isAnInfoCmd() const { return isInfoCmd_; }
46
bool moreToSend() const { return !sent_; }
47
bool expectReply() const { return waitForReply_; }
60
/***************************************************************************/
61
/***************************************************************************/
62
/***************************************************************************/