home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1999 mARCH / PCWK3A99.iso / Linux / DDD331 / DDD-3_1_.000 / DDD-3_1_ / ddd-3.1.1 / ddd / source.h < prev    next >
C/C++ Source or Header  |  1998-08-15  |  3KB  |  88 lines

  1. // $Id: source.h,v 1.15 1998/08/15 11:16:30 zeller Exp $ -*- C++ -*-
  2. // Source callbacks and actions
  3.  
  4. // Copyright (C) 1996 Technische Universitaet Braunschweig, Germany.
  5. // Written by Andreas Zeller <zeller@ips.cs.tu-bs.de>.
  6. // 
  7. // This file is part of DDD.
  8. // 
  9. // DDD is free software; you can redistribute it and/or
  10. // modify it under the terms of the GNU General Public
  11. // License as published by the Free Software Foundation; either
  12. // version 2 of the License, or (at your option) any later version.
  13. // 
  14. // DDD is distributed in the hope that it will be useful,
  15. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  17. // See the GNU General Public License for more details.
  18. // 
  19. // You should have received a copy of the GNU General Public
  20. // License along with DDD -- see the file COPYING.
  21. // If not, write to the Free Software Foundation, Inc.,
  22. // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  23. // 
  24. // DDD is the data display debugger.
  25. // For details, see the DDD World-Wide-Web page, 
  26. // `http://www.cs.tu-bs.de/softech/ddd/',
  27. // or send a mail to the DDD developers <ddd@ips.cs.tu-bs.de>.
  28.  
  29. #ifndef _DDD_source_h
  30. #define _DDD_source_h
  31.  
  32. #ifdef __GNUG__
  33. #pragma interface
  34. #endif
  35.  
  36. #include <X11/Intrinsic.h>
  37. #include "bool.h"
  38. #include "SourceView.h"
  39.  
  40. extern void gdbBreakAtCB      (Widget, XtPointer, XtPointer);
  41. extern void gdbClearAtCB      (Widget, XtPointer, XtPointer);
  42. extern void gdbToggleBreakCB  (Widget, XtPointer, XtPointer);
  43. extern void gdbLookupCB       (Widget, XtPointer, XtPointer);
  44.  
  45. extern void gdbTempBreakAtCB  (Widget, XtPointer, XtPointer);
  46. extern void gdbRegexBreakAtCB (Widget, XtPointer, XtPointer);
  47. extern void gdbContUntilCB    (Widget, XtPointer, XtPointer);
  48. extern void gdbSetPCCB        (Widget, XtPointer, XtPointer);
  49.  
  50. extern void gdbPrintCB        (Widget, XtPointer, XtPointer);
  51. extern void gdbDisplayCB      (Widget, XtPointer, XtPointer);
  52. extern void gdbWatchCB        (Widget, XtPointer, XtPointer);
  53. extern void gdbUnwatchCB      (Widget, XtPointer, XtPointer);
  54. extern void gdbToggleWatchCB  (Widget, XtPointer, XtPointer);
  55.  
  56. extern void gdbPrintRefCB     (Widget, XtPointer, XtPointer);
  57. extern void gdbDispRefCB      (Widget, XtPointer, XtPointer);
  58. extern void gdbWatchRefCB     (Widget, XtPointer, XtPointer);
  59.  
  60. extern void gdbWhatisCB       (Widget, XtPointer, XtPointer);
  61.  
  62. extern void gdbEditSourceCB   (Widget, XtPointer, XtPointer);
  63. extern void gdbReloadSourceCB (Widget, XtPointer, XtPointer);
  64.  
  65. extern void gdbUndoCB         (Widget, XtPointer, XtPointer);
  66. extern void gdbRedoCB         (Widget, XtPointer, XtPointer);
  67.  
  68. extern bool have_breakpoint_at_arg();
  69. extern bool have_enabled_breakpoint_at_arg();
  70.  
  71. extern bool have_watchpoint_at_arg();
  72. extern bool have_watchpoint_at_ref_arg();
  73. extern bool have_enabled_watchpoint_at_arg();
  74.  
  75. extern void gdbEditBreakpointPropertiesCB (Widget, XtPointer, XtPointer);
  76. extern void gdbEditWatchpointPropertiesCB (Widget, XtPointer, XtPointer);
  77.  
  78. extern void gdbToggleEnableBreakpointCB (Widget, XtPointer, XtPointer);
  79. extern void gdbToggleEnableWatchpointCB (Widget, XtPointer, XtPointer);
  80.  
  81. extern void gdbFindCB         (Widget, XtPointer, XtPointer);
  82. extern void gdbFindAgainCB    (Widget, XtPointer, XtPointer);
  83.  
  84. extern SourceView::SearchDirection current_find_direction();
  85.  
  86. #endif // _DDD_source_h
  87. // DON'T ADD ANYTHING BEHIND THIS #endif
  88.