KDevelop API Documentation

dbgcommand.cpp

Go to the documentation of this file.
00001 /***************************************************************************
00002     begin                : Sun Aug 8 1999
00003     copyright            : (C) 1999 by John Birch
00004     email                : jbb@kdevelop.org
00005  ***************************************************************************/
00006 
00007 /***************************************************************************
00008  *                                                                         *
00009  *   This program is free software; you can redistribute it and/or modify  *
00010  *   it under the terms of the GNU General Public License as published by  *
00011  *   the Free Software Foundation; either version 2 of the License, or     *
00012  *   (at your option) any later version.                                   *
00013  *                                                                         *
00014  ***************************************************************************/
00015 
00016 #include "dbgcommand.h"
00017 
00018 #include <qstring.h>
00019 
00020 /***************************************************************************/
00021 /***************************************************************************/
00022 /***************************************************************************/
00023 namespace GDBDebugger
00024 {
00025 
00026 
00027 DbgCommand::DbgCommand(const QCString& command, bool isRunCmd, bool isInfoCmd, char prompt) :
00028   command_(command),
00029   isRunCmd_(isRunCmd),
00030   isInfoCmd_(isInfoCmd),
00031   sent_(false),
00032   waitForReply_(prompt != 0),
00033   prompt_(prompt)
00034 {
00035   cmdBuffer_ = command_+"\n";
00036 }
00037 
00038 }
00039 
00040 /***************************************************************************/
00041 /***************************************************************************/
00042 /***************************************************************************/
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:22:29 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003