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
/
editing.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-11-19
|
4KB
|
103 lines
// $Id: editing.h,v 1.16 1998/11/19 10:06:46 zeller Exp $ -*- C++ -*-
// DDD command-line actions and callbacks
// Copyright (C) 1996 Technische Universitaet Braunschweig, Germany.
// Written by Andreas Zeller <zeller@ips.cs.tu-bs.de>.
//
// This file is part of DDD.
//
// DDD is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public
// License as published by the Free Software Foundation; either
// version 2 of the License, or (at your option) any later version.
//
// DDD is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public
// License along with DDD -- see the file COPYING.
// If not, write to the Free Software Foundation, Inc.,
// 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
//
// DDD is the data display debugger.
// For details, see the DDD World-Wide-Web page,
// `http://www.cs.tu-bs.de/softech/ddd/',
// or send a mail to the DDD developers <ddd@ips.cs.tu-bs.de>.
#ifndef _DDD_editing_h
#define _DDD_editing_h
#ifdef __GNUG__
#pragma interface
#endif
#include <X11/Intrinsic.h>
#include "bool.h"
#include "strclass.h"
// Actions
extern void controlAct (Widget, XEvent*, String*, Cardinal*);
extern void interruptAct (Widget, XEvent*, String*, Cardinal*);
extern void commandAct (Widget, XEvent*, String*, Cardinal*);
extern void processAct (Widget, XEvent*, String*, Cardinal*);
extern void forward_characterAct (Widget, XEvent*, String*, Cardinal*);
extern void backward_characterAct (Widget, XEvent*, String*, Cardinal*);
extern void beginning_of_lineAct (Widget, XEvent*, String*, Cardinal*);
extern void end_of_lineAct (Widget, XEvent*, String*, Cardinal*);
extern void set_lineAct (Widget, XEvent*, String*, Cardinal*);
extern void delete_or_controlAct (Widget, XEvent*, String*, Cardinal*);
extern void insert_source_argAct (Widget, XEvent*, String*, Cardinal*);
extern void insert_graph_argAct (Widget, XEvent*, String*, Cardinal*);
extern void next_tab_groupAct (Widget, XEvent*, String*, Cardinal*);
extern void prev_tab_groupAct (Widget, XEvent*, String*, Cardinal*);
extern void get_focusAct (Widget, XEvent*, String*, Cardinal*);
extern void select_allAct (Widget, XEvent*, String*, Cardinal*);
extern void isearch_nextAct (Widget, XEvent*, String*, Cardinal*);
extern void isearch_prevAct (Widget, XEvent*, String*, Cardinal*);
extern void isearch_exitAct (Widget, XEvent*, String*, Cardinal*);
extern void popupAct (Widget, XEvent*, String*, Cardinal*);
// Callbacks
extern void gdbModifyCB (Widget, XtPointer, XtPointer);
extern void gdbMotionCB (Widget, XtPointer, XtPointer);
extern void gdbChangeCB (Widget, XtPointer, XtPointer);
extern void gdbNextCB (Widget, XtPointer, XtPointer);
extern void gdbPrevCB (Widget, XtPointer, XtPointer);
extern void gdbISearchNextCB (Widget, XtPointer, XtPointer);
extern void gdbISearchPrevCB (Widget, XtPointer, XtPointer);
extern void gdbISearchExitCB (Widget, XtPointer, XtPointer);
extern void gdbClearCB (Widget, XtPointer, XtPointer);
extern void gdbCompleteCB (Widget, XtPointer, XtPointer);
extern void gdbApplyCB (Widget, XtPointer, XtPointer);
extern void gdbApplySelectionCB (Widget, XtPointer, XtPointer);
extern void gdbClearWindowCB (Widget, XtPointer, XtPointer);
// Return current GDB command line.
extern string current_line();
// Set current GDB input line
extern void set_current_line(const string& input);
// True if last input was at GDB prompt.
extern bool gdb_input_at_prompt;
// True if debuggee is currently running.
extern bool gdb_debuggee_running;
// Clear isearch mode.
// RESET means to reset the history; SHOW means to redisplay.
extern void clear_isearch(bool reset = false, bool show = true);
// Pass the COMMAND given in CLIENT_DATA to gdb_button_command()
void gdbCommandCB(Widget w, XtPointer client_data, XtPointer call_data);
// Like gdb_command(), but perform `...' and `()' substitutions
void gdb_button_command(const string& command, Widget origin = 0);
#endif // _DDD_editing_h
// DON'T ADD ANYTHING BEHIND THIS #endif