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_MACRO_H_INCLUDED
28 #define NEDIT_MACRO_H_INCLUDED
29
30 #include "nedit.h"
31
32 #include <X11/Intrinsic.h>
33
34 #define REPEAT_TO_END -
1
35 #define REPEAT_IN_SEL -
2
36
37 void RegisterMacroSubroutines(
void);
38 void AddLastCommandActionHook(XtAppContext context);
39 void BeginLearn(WindowInfo *window);
40 void FinishLearn(
void);
41 void CancelMacroOrLearn(WindowInfo *window);
42 void Replay(WindowInfo *window);
43 void SafeGC(
void);
44 void DoMacro(WindowInfo *window,
const char *macro,
const char *errInName);
45 void ResumeMacroExecution(WindowInfo *window);
46 void AbortMacroCommand(WindowInfo *window);
47 int MacroWindowCloseActions(WindowInfo *window);
48 void RepeatDialog(WindowInfo *window);
49 void RepeatMacro(WindowInfo *window,
const char *command,
int how);
50 int ReadMacroFile(WindowInfo *window,
const char *fileName,
int warnNotExist);
51 int ReadMacroString(WindowInfo *window,
char *string,
const char *errIn);
52 int CheckMacroString(Widget dialogParent,
char *string,
const char *errIn,
53 char **errPos);
54 char *GetReplayMacro(
void);
55 void ReadMacroInitFile(WindowInfo *window);
56 void ReturnShellCommandOutput(WindowInfo *window,
const char *outText,
int status);
57
58 #endif
59