Committed SF patch #963120: Open tab in window on current desktop.
[nedit.git] / source / shell.h
bloba67f5d9a78b50c4046459cbafd963479bb602edd
1 /* $Id: shell.h,v 1.7 2004/01/26 09:23:22 tksoh Exp $ */
3 #ifndef NEDIT_SHELL_H_INCLUDED
4 #define NEDIT_SHELL_H_INCLUDED
6 #include "nedit.h"
8 /* sources for command input and destinations for command output */
9 enum inSrcs {FROM_SELECTION, FROM_WINDOW, FROM_EITHER, FROM_NONE};
10 enum outDests {TO_SAME_WINDOW, TO_NEW_WINDOW, TO_DIALOG};
12 void FilterSelection(WindowInfo *window, const char *command, int fromMacro);
13 void ExecShellCommand(WindowInfo *window, const char *command, int fromMacro);
14 void ExecCursorLine(WindowInfo *window, int fromMacro);
15 void ShellCmdToMacroString(WindowInfo *window, const char *command,
16 const char *input);
17 void DoShellMenuCmd(WindowInfo *window, const char *command, int input,
18 int output, int outputReplaceInput,
19 int saveFirst, int loadAfter, int fromMacro);
20 void AbortShellCommand(WindowInfo *window);
22 #endif /* NEDIT_SHELL_H_INCLUDED */