1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27 #ifndef NEDIT_SHELL_H_INCLUDED
28 #define NEDIT_SHELL_H_INCLUDED
29
30 #include "nedit.h"
31
32
33 enum inSrcs {
FROM_SELECTION,
FROM_WINDOW,
FROM_EITHER,
FROM_NONE};
34 enum outDests {
TO_SAME_WINDOW,
TO_NEW_WINDOW,
TO_DIALOG};
35
36 void FilterSelection(WindowInfo *window,
const char *command,
int fromMacro);
37 void ExecShellCommand(WindowInfo *window,
const char *command,
int fromMacro);
38 void ExecCursorLine(WindowInfo *window,
int fromMacro);
39 void ShellCmdToMacroString(WindowInfo *window,
const char *command,
40 const char *input);
41 void DoShellMenuCmd(WindowInfo *window,
const char *command,
int input,
42 int output,
int outputReplaceInput,
43 int saveFirst,
int loadAfter,
int fromMacro);
44 void AbortShellCommand(WindowInfo *window);
45
46 #endif
47