Last change
on this file since 1036 was 1029, checked in by Gregg Young, 17 years ago |
Fixed early memory free; Added free_... functions to make fortify checking easier; Added fortify scopes; Delete now moves to trash can on systems with the xworkplace trash can installed.
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
867 bytes
|
Line | |
---|
1 |
|
---|
2 | /***********************************************************************
|
---|
3 |
|
---|
4 | $Id: command.h 1029 2008-06-23 01:30:16Z gyoung $
|
---|
5 |
|
---|
6 | Custom commands
|
---|
7 |
|
---|
8 | Copyright (c) 1993-98 M. Kimes
|
---|
9 | Copyright (c) 2008 Steven H. Levine
|
---|
10 |
|
---|
11 | 01 Mar 08 GKY Move from fm3dll.h to here
|
---|
12 | 22 Jun 08 GKY Moved free_commands here for fortify checking
|
---|
13 |
|
---|
14 | ***********************************************************************/
|
---|
15 |
|
---|
16 | #if !defined(COMMAND_H)
|
---|
17 | #define COMMAND_H
|
---|
18 |
|
---|
19 | #if !defined(OS2_INCLUDED)
|
---|
20 | #include <os2.h>
|
---|
21 | #endif
|
---|
22 |
|
---|
23 | VOID RunCommand(HWND hwnd, INT cx);
|
---|
24 | VOID EditCommands(HWND hwnd);
|
---|
25 | CHAR *command_title(INT cx);
|
---|
26 | VOID load_commands(VOID);
|
---|
27 | VOID free_commands(VOID);
|
---|
28 |
|
---|
29 | typedef struct LINKCMDS
|
---|
30 | {
|
---|
31 | PSZ pszCmdLine;
|
---|
32 | CHAR *title;
|
---|
33 | ULONG flags;
|
---|
34 | struct LINKCMDS *next;
|
---|
35 | struct LINKCMDS *prev;
|
---|
36 | }
|
---|
37 | LINKCMDS;
|
---|
38 |
|
---|
39 | // 01 Mar 08 GKY fixme for command.c globals to be here
|
---|
40 |
|
---|
41 | #ifdef DEFINE_GLOBALS
|
---|
42 | #pragma data_seg(GLOBAL1)
|
---|
43 | #endif
|
---|
44 |
|
---|
45 | #endif // COMMAND_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.