KDevelop API Documentation

jdbcommand.cpp

Go to the documentation of this file.
00001 /***************************************************************************
00002                           jdbcommand.cpp  -  description
00003                              -------------------
00004     begin                : Sun Aug 8 1999
00005     copyright            : (C) 1999 by John Birch
00006     email                : jbb@kdevelop.org
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #include "jdbcommand.h"
00019 #include "breakpoint.h"
00020 #include "variablewidget.h"
00021 
00022 
00023 namespace JAVADebugger
00024 {
00025 
00026 JDBCommand::JDBCommand(const QCString &setCommand, bool isRunCmd, bool isInfoCmd, char setPrompt)
00027     : DbgCommand(setCommand, isRunCmd, isInfoCmd, setPrompt)
00028 {
00029 }
00030 
00031 /***************************************************************************/
00032 
00033 JDBCommand::~JDBCommand()
00034 {
00035 }
00036 
00037 /***************************************************************************/
00038 /***************************************************************************/
00039 /***************************************************************************/
00040 
00041 JDBItemCommand::JDBItemCommand( VarItem *item,
00042                                 const QCString &command,
00043                                 bool isRunCmd,
00044                                 char prompt)
00045     : JDBCommand(command, isRunCmd, true, prompt),
00046       item_(item)
00047 {
00048 }
00049 
00050 /***************************************************************************/
00051 
00052 JDBItemCommand::~JDBItemCommand()
00053 {
00054 }
00055 
00056 /***************************************************************************/
00057 /***************************************************************************/
00058 /***************************************************************************/
00059 
00060 JDBPointerCommand::JDBPointerCommand(VarItem *item)
00061     : JDBItemCommand(item,
00062                      QCString("print *")+QCString(item->fullName().latin1()),
00063                      false,
00064                      DATAREQUEST)
00065 {
00066 }
00067 
00068 /***************************************************************************/
00069 
00070 JDBPointerCommand::~JDBPointerCommand()
00071 {
00072 }
00073 
00074 /***************************************************************************/
00075 /***************************************************************************/
00076 /***************************************************************************/
00077 
00078 //JDBReferenceCommand::JDBReferenceCommand(VarItem *item) :
00079 //  JDBItemCommand(item, "print "+item->fullName(), false,
00080 //                                                  DATAREQUEST)
00081 //{
00082 //}
00083 //
00085 //
00086 //JDBReferenceCommand::~JDBReferenceCommand()
00087 //{
00088 //}
00089 //
00090 /***************************************************************************/
00091 /***************************************************************************/
00092 /***************************************************************************/
00093 
00094 JDBSetBreakpointCommand::JDBSetBreakpointCommand(const QCString &command, int key)
00095     : JDBCommand(command, false, false, SET_BREAKPT),
00096       key_(key)
00097 {
00098 }
00099 
00100 /***************************************************************************/
00101 
00102 JDBSetBreakpointCommand::~JDBSetBreakpointCommand()
00103 {
00104 }
00105 
00106 /***************************************************************************/
00107 
00108 }
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Mar 23 00:03:47 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003