source: trunk/dll/command.h@ 1036

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
RevLine 
[989]1
2/***********************************************************************
3
[1015]4 $Id: command.h 1029 2008-06-23 01:30:16Z gyoung $
[989]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
[1029]12 22 Jun 08 GKY Moved free_commands here for fortify checking
[989]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
23VOID RunCommand(HWND hwnd, INT cx);
24VOID EditCommands(HWND hwnd);
25CHAR *command_title(INT cx);
26VOID load_commands(VOID);
[1029]27VOID free_commands(VOID);
[989]28
29typedef struct LINKCMDS
30{
31 PSZ pszCmdLine;
32 CHAR *title;
33 ULONG flags;
34 struct LINKCMDS *next;
35 struct LINKCMDS *prev;
36}
37LINKCMDS;
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.