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_USERCMDS_H_INCLUDED
28 #define NEDIT_USERCMDS_H_INCLUDED
29
30 #include "nedit.h"
31
32 void EditShellMenu(WindowInfo *window);
33 void EditMacroMenu(WindowInfo *window);
34 void EditBGMenu(WindowInfo *window);
35 void UpdateUserMenus(WindowInfo *window);
36 char *WriteShellCmdsString(
void);
37 char *WriteMacroCmdsString(
void);
38 char *WriteBGMenuCmdsString(
void);
39 int LoadShellCmdsString(
char *inString);
40 int LoadMacroCmdsString(
char *inString);
41 int LoadBGMenuCmdsString(
char *inString);
42 int DoNamedShellMenuCmd(WindowInfo *window,
const char *itemName,
int fromMacro);
43 int DoNamedMacroMenuCmd(WindowInfo *window,
const char *itemName);
44 int DoNamedBGMenuCmd(WindowInfo *window,
const char *itemName);
45 void RebuildAllMenus(WindowInfo *window);
46 void SetBGMenuUndoSensitivity(WindowInfo *window,
int sensitive);
47 void SetBGMenuRedoSensitivity(WindowInfo *window,
int sensitive);
48 void DimSelectionDepUserMenuItems(WindowInfo *window,
int sensitive);
49 void DimPasteReplayBtns(
int sensitive);
50 UserMenuCache *CreateUserMenuCache(
void);
51 void FreeUserMenuCache(UserMenuCache *cache);
52 void InitUserBGMenuCache(UserBGMenuCache *cache);
53 void FreeUserBGMenuCache(UserBGMenuCache *cache);
54 void SetupUserMenuInfo(
void);
55 void UpdateUserMenuInfo(
void);
56
57 #endif
58