1 /* $Id: shell.h,v 1.4 2001/08/25 15:58:54 amai Exp $ */
2 /* sources for command input and destinations for command output */
3 enum inSrcs
{FROM_SELECTION
, FROM_WINDOW
, FROM_EITHER
, FROM_NONE
};
4 enum outDests
{TO_SAME_WINDOW
, TO_NEW_WINDOW
, TO_DIALOG
};
6 void FilterSelection(WindowInfo
*window
, const char *command
, int fromMacro
);
7 void ExecShellCommand(WindowInfo
*window
, const char *command
, int fromMacro
);
8 void ExecCursorLine(WindowInfo
*window
, int fromMacro
);
9 void ShellCmdToMacroString(WindowInfo
*window
, const char *command
,
11 void DoShellMenuCmd(WindowInfo
*window
, const char *command
, int input
,
12 int output
, int outputReplaceInput
,
13 int saveFirst
, int loadAfter
, int fromMacro
);
14 void AbortShellCommand(WindowInfo
*window
);