|
Last change
on this file since 1519 was 1498, checked in by Gregg Young, 16 years ago |
|
Changes to get FM2 to compile with the latest watcom 1.9 beta (mostly type casts of CHAR CONSTANT * to CHAR *). Changes to get the environment settings working everywhere again (broken by the change that moved commands to the INI); Added an environment size variable (set to 2048 which was the largest I found hard coded). Still need to find everywhere the environment size is set and use this variable.
|
-
Property svn:eolstyle
set to
native
-
Property svn:keywords
set to
Id
|
|
File size:
1.9 KB
|
| Rev | Line | |
|---|
| [1170] | 1 |
|
|---|
| 2 | /***********************************************************************
|
|---|
| 3 |
|
|---|
| [1201] | 4 | $Id: systemf.h 1498 2010-01-18 00:57:01Z gyoung $
|
|---|
| [1170] | 5 |
|
|---|
| [1201] | 6 | <<<description here>>>
|
|---|
| [1170] | 7 |
|
|---|
| [1201] | 8 | Copyright (c) 1993-98 M. Kimes
|
|---|
| [1498] | 9 | Copyright (c) 2008, 2010 Steven H. Levine
|
|---|
| [1170] | 10 |
|
|---|
| [1201] | 11 | Change log
|
|---|
| [1488] | 12 | 21 Dec 09 GKY Added CheckExecutibleFlags to streamline code in command.c assoc.c & cmdline.c
|
|---|
| [1498] | 13 | 17 JAN 10 GKY Changes to environment handling in ExecuteOnList to facilitate move of commands to INI and allow
|
|---|
| 14 | the same commandline to have different environments (multiple different command titles).
|
|---|
| 15 | 17 JAN 10 GKY Add ENVIRONMENT_SIZE vaiable to replace multiple (often different hard coded sizes) set to 2048
|
|---|
| 16 | (the largest value I found).
|
|---|
| [1170] | 17 |
|
|---|
| 18 | ***********************************************************************/
|
|---|
| 19 |
|
|---|
| 20 | #if !defined(SYSTEMF_H)
|
|---|
| 21 | #define SYSTEMF_H
|
|---|
| 22 |
|
|---|
| [1187] | 23 | #define RUNTYPE_MASK 0xf
|
|---|
| 24 | #define SYNCHRONOUS 1
|
|---|
| 25 | #define ASYNCHRONOUS 2
|
|---|
| 26 | #define DETACHED 3
|
|---|
| 27 | #define SEPARATE 4
|
|---|
| 28 | #define SEPARATEKEEP 5
|
|---|
| 29 | #define WINDOWED 16
|
|---|
| 30 | #define MAXIMIZED 32
|
|---|
| 31 | #define MINIMIZED 64
|
|---|
| 32 | #define FULLSCREEN 128
|
|---|
| 33 | #define INVISIBLE 256
|
|---|
| 34 | #define BACKGROUND 512
|
|---|
| 35 | #define WAIT 1024
|
|---|
| 36 | #define PROMPT 2048
|
|---|
| 37 | #define KEEP 4096
|
|---|
| 38 | #define ONCE 8192
|
|---|
| 39 | #define DIEAFTER 16384
|
|---|
| 40 | #define SEAMLESS 32768
|
|---|
| 41 | #define CHILD 65536
|
|---|
| [1170] | 42 |
|
|---|
| [1498] | 43 | #define ENVIRONMENT_SIZE 2048
|
|---|
| 44 |
|
|---|
| [1227] | 45 | typedef struct
|
|---|
| 46 | {
|
|---|
| 47 | ULONG flags;
|
|---|
| 48 | CHAR *commandline;
|
|---|
| 49 | CHAR path[CCHMAXPATH];
|
|---|
| [1498] | 50 | CHAR environment[ENVIRONMENT_SIZE];
|
|---|
| [1227] | 51 | CHAR tempprompt[128];
|
|---|
| 52 | CHAR title[80];
|
|---|
| 53 | BOOL dropped;
|
|---|
| 54 | }
|
|---|
| 55 | EXECARGS;
|
|---|
| [1187] | 56 |
|
|---|
| [1488] | 57 | ULONG CheckExecutibleFlags(HWND hwnd, INT caller);
|
|---|
| [1497] | 58 | INT ExecOnList(HWND hwnd, PSZ command, INT flags, PSZ tpath, PSZ environment,
|
|---|
| [1394] | 59 | PSZ *list, PCSZ prompt, PCSZ pszCallingFile, UINT uiLineNumber);
|
|---|
| [1227] | 60 | BOOL ShowSession(HWND hwnd, PID pid);
|
|---|
| 61 | INT runemf2(INT type, HWND hwnd, PCSZ pszCallingFile, UINT uiLineNumber,
|
|---|
| [1394] | 62 | PSZ directory, PSZ environment,
|
|---|
| 63 | PSZ formatstring, ...);
|
|---|
| [1187] | 64 |
|
|---|
| [1227] | 65 |
|
|---|
| [1170] | 66 | #endif // SYSTEMF_H
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.