source: trunk/dll/init.h@ 1868

Last change on this file since 1868 was 1868, checked in by Gregg Young, 10 years ago

Remove obsolete code fDontAsk?zip and fDummy

  • Property svn:eolstyle set to native
  • Property svn:keywords set to Id
File size: 8.5 KB
Line 
1
2/***********************************************************************
3
4 $Id: init.h 1868 2015-08-24 20:51:17Z gyoung $
5
6 Initialization
7
8 Copyright (c) 1993-98 M. Kimes
9 Copyright (c) 2008, 2015 Steven H. Levine
10
11 Change log
12 29 Nov 08 GKY Remove or replace with a mutex semaphore DosEnterCriSec where appropriate.
13 03 Jan 09 GKY Check for system that is protectonly to gray out Dos/Win command lines and prevent
14 Dos/Win programs from being inserted into the execute dialog with message why.
15 11 Jan 09 GKY Move strings that shouldn't be translated (font names etc) compile time variables
16 07 Feb 09 GKY Eliminate Win_Error2 by moving function names to PCSZs used in Win_Error
17 07 Feb 09 GKY Move repeated strings to PCSZs.
18 07 Feb 09 GKY Add *DateFormat functions to format dates based on locale
19 08 Mar 09 GKY Additional strings move to PCSZs in init.c
20 22 Jul 09 GKY Drivebar enhancements add refresh removable, rescan all drives, drive button
21 loads drive root directory in directory container or expands drive tree
22 and rescans drive in tree container depending on container focus, greyed out
23 inappropriate menu context choices
24 15 Nov 09 GKY Add more PCSZs
25 17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10).
26 Mostly cast CHAR CONSTANT * as CHAR *.
27 20 Nov 10 GKY Rework scanning code to remove redundant scans, prevent double directory
28 entries in the tree container, fix related semaphore performance using
29 combination of event and mutex semaphores
30 08 Jan 12 GKY Add support for changing PresParams in the notify status window
31 04 Aug 12 GKY Changes to use Unlock to unlock files if Unlock.exe is in path both from menu/toolbar and as part of
32 copy, move and delete operations
33 04 Aug 12 GKY Changes to allow copy and move over readonly files with a warning dialog; also added a warning dialog
34 for delete of readonly files
35 16 Feb 14 GKY Add "#" command line switch to workaround problem with blank command shell
36 started from fm2 after fm2 has been started with stdout and stderr
37 redirected to a file.
38 02 Mar 14 GKY Fixed typo that reversed the function of the saymsg dialog g/bzip check.
39 Added option to suppress message regarding missing bzip2.exe
40 or gzip.exe on TAR.B/GZ archives.
41 30 Aug 14 GKY Add semaphore hmtxFiltering to prevent freeing dcd while filtering. Prevents
42 a trap when FM2 is shutdown while directory containers are still populating
43 02 Aug 15 GKY Serialize local hard drive scanning to reduce drive thrashing continue to scan
44 all other drive types in separate threads.
45 19 Aug 15 SHL Delete obsoletes
46 20 Aug 15 SHL Support PCSZ_DOS...SEM
47 24 Aug 15 GKY Remove obsolete code fDontAsk?zip
48
49***********************************************************************/
50
51#if !defined(INIT_H)
52#define INIT_H
53
54BOOL InitFM3DLL(HAB hab, int argc, char **argv);
55HWND StartFM3(HAB hab, INT argc, CHAR ** argv);
56
57// Data declarations
58extern PCSZ PCSZ_ARCHIVERBB2;
59extern PCSZ PCSZ_ASSOCDAT;
60extern PCSZ PCSZ_CMDLINESDAT;
61extern PCSZ PCSZ_CMDMINIDAT;
62extern PCSZ PCSZ_COMMANDSDAT;
63extern PCSZ PCSZ_FILTERSDAT;
64extern PCSZ PCSZ_GREPMASKDAT;
65extern PCSZ PCSZ_PATTERNSDAT;
66extern PCSZ PCSZ_RESOURCEDAT;
67extern PCSZ PCSZ_QUICKTLSDAT;
68extern PCSZ PCSZ_FM3TOOLSDAT;
69extern PCSZ PCSZ_USERDIRSDAT;
70extern PCSZ PCSZ_FM2PLAYEXE;
71extern PCSZ PCSZ_FM2PLAYTEMP;
72extern PCSZ PCSZ_LVMGUICMD;
73extern PCSZ PCSZ_DFSOS2EXE;
74extern PCSZ PCSZ_MINILVMEXE;
75extern PCSZ PCSZ_FDISKPMEXE;
76extern PCSZ PCSZ_IMAGEEXE;
77extern PCSZ PCSZ_LVMEXE;
78extern PCSZ PCSZ_UNLOCKEXE;
79extern PCSZ PCSZ_ARCCNR;
80extern PCSZ PCSZ_COLLECTOR;
81extern PCSZ PCSZ_DIRCNR;
82extern PCSZ PCSZ_DIRCMP;
83extern PCSZ PCSZ_DIRSIZES;
84extern PCSZ PCSZ_NOTIFYWND;
85extern PCSZ PCSZ_TOOLBAR;
86extern PCSZ PCSZ_TREECNR;
87extern PCSZ PCSZ_SHUTDOWNSTATE;
88extern PCSZ PCSZ_FM2TEMPTEXT;
89extern PCSZ DRMDRFFM2ARC;
90extern PCSZ DRF_FM2ARCHIVE;
91extern PCSZ DRMDRFOS2FILE;
92extern PCSZ DRM_FM2ARCMEMBER;
93extern PCSZ DRM_OS2FILE;
94extern PCSZ FM2Str;
95extern PCSZ FM3Folder;
96extern CHAR HomePath[CCHMAXPATH];
97extern PCSZ LONGNAME;
98extern CHAR *NullStr;
99extern ULONG OS2ver[2];
100extern PFNWP PFNWPCnr;
101extern PFNWP PFNWPMLE;
102extern PCSZ Settings;
103extern PCSZ Details;
104extern PCSZ PCSZ_TREE;
105extern PCSZ PCSZ_ICON;
106extern CHAR SwapperDat[CCHMAXPATH];
107extern CHAR ThousandsSeparator[2];
108extern CHAR DateSeparator[2];
109extern CHAR TimeSeparator[2];
110extern ULONG ulTimeFmt;
111extern ULONG ulDateFmt;
112extern PCSZ FNT_HELVETICA;
113extern PCSZ FNT_6HELVETICA;
114extern PCSZ FNT_8HELVETICA;
115extern PCSZ FNT_8HELVETICABOLD;
116extern PCSZ FNT_10SYSTEMMONOTEXT;
117extern PCSZ FNT_10SYSTEMPROPORT;
118extern PCSZ FNT_2SYSTEMVIO;
119extern PCSZ FNT_4SYSTEMVIO;
120extern PCSZ FNT_10SYSTEMVIO;
121extern PCSZ FNT_8TIMESNEWROMAN;
122extern PCSZ PCSZ_CM_ALLOCRECORD;
123extern PCSZ PCSZ_QUERYCNRINFO;
124
125extern PCSZ PCSZ_DOSCREATEMUTEXSEM;
126extern PCSZ PCSZ_DOSREQUESTMUTEXSEM;
127extern PCSZ PCSZ_DOSRELEASEMUTEXSEM;
128
129extern PCSZ PCSZ_DOSCREATEEVENTSEM;
130extern PCSZ PCSZ_DOSWAITEVENTSEM;
131extern PCSZ PCSZ_DOSPOSTEVENTSEM;
132extern PCSZ PCSZ_DOSRESETEVENTSEM;
133
134extern PCSZ PCSZ_DOSDUPHANDLE;
135extern PCSZ PCSZ_DOSGETINFOBLOCKS;
136extern PCSZ PCSZ_DOSQUERYPATHINFO;
137extern PCSZ PCSZ_DOSSEARCHPATH;
138extern PCSZ PCSZ_DRGACCESSDRAGINFO;
139extern PCSZ PCSZ_POSTMSG;
140extern PCSZ PCSZ_WINCREATEWINDOW;
141extern PCSZ PCSZ_WINLOADACCELTABLE;
142extern PCSZ PCSZ_WINSETACCELTABLE;
143extern PCSZ PCSZ_INIQUERYPRFTEXT;
144extern PCSZ PCSZ_PRFOPENPROFILEFAILED;
145extern PCSZ PCSZ_PRFQUERYPROFILEDATA;
146extern PCSZ PCSZ_PRFQUERYPROFILESIZE;
147extern PCSZ PCSZ_PRFQUERYPROFILESTRING;
148extern PCSZ PCSZ_FILLDIRQCURERRTEXT;
149extern PCSZ PCSZ_NODATA;
150extern PCSZ PCSZ_BACKSLASH;
151extern PCSZ PCSZ_STARDOTEXE;
152extern PCSZ PCSZ_STARDOTINI;
153extern PCSZ PCSZ_STARDOTLST;
154extern PCSZ PCSZ_STARDOTPMD;
155extern PCSZ PCSZ_STARDOTTXT;
156extern PCSZ PCSZ_FM3DOTINI;
157extern PCSZ PCSZ_FM3INI;
158extern PCSZ PCSZ_FM3INIDOTBAK;
159extern PCSZ PCSZ_FM3INIDOTBAD;
160extern PCSZ PCSZ_FM3INIDOTBAD2;
161extern PCSZ PCSZ_FM3RES;
162extern PCSZ PCSZ_FM3DOTHLP;
163extern PCSZ PCSZ_DOTEXE;
164extern PCSZ PCSZ_DOTCOM;
165extern PCSZ PCSZ_DOTCMD;
166extern PCSZ PCSZ_DOTBTM;
167extern PCSZ PCSZ_DOTBAT;
168extern PCSZ PCSZ_DOTLST;
169extern PCSZ PCSZ_DOTTLS;
170extern PCSZ PCSZ_DOTHLP;
171extern PCSZ PCSZ_DOTINF;
172extern PCSZ PCSZ_DOTMP3;
173extern PCSZ PCSZ_DOTMPG;
174extern PCSZ PCSZ_DOTMPEG;
175extern PCSZ PCSZ_DOTOGG;
176extern PCSZ PCSZ_DOTFLAC;
177extern PCSZ PCSZ_DOTJPEG;
178extern PCSZ PCSZ_DOTJPG;
179extern PCSZ PCSZ_DOTICO;
180extern PCSZ PCSZ_DOTPTR;
181extern PCSZ PCSZ_DOTBB2;
182extern PCSZ PCSZ_DOTBMP;
183extern PCSZ PCSZ_DOTCOMMENTS;
184extern PCSZ PCSZ_PATH;
185extern PCSZ PCSZ_LIBPATH;
186extern PCSZ PCSZ_WPURLDEFAULTSETTINGS;
187extern PCSZ WC_ARCCONTAINER;
188extern PCSZ WC_ARCSTATUS;
189extern PCSZ WC_AUTOVIEW;
190extern PCSZ WC_BUBBLE;
191extern PCSZ WC_COLLECTOR;
192extern PCSZ WC_COLSTATUS;
193extern PCSZ WC_DATABAR;
194extern PCSZ WC_DIRCONTAINER;
195extern PCSZ WC_DIRSTATUS;
196extern PCSZ WC_DRIVEBACK;
197extern PCSZ WC_DRIVEBUTTONS;
198extern PCSZ WC_ERRORWND;
199extern PCSZ WC_INIEDITOR;
200extern PCSZ WC_LED;
201extern PCSZ WC_MAINWND;
202extern PCSZ WC_MAINWND2;
203extern PCSZ WC_MINITIME;
204extern PCSZ WC_MLEEDITOR;
205extern PCSZ WC_NEWVIEW;
206extern PCSZ WC_OBJECTWINDOW;
207extern PCSZ WC_SEEALL;
208extern PCSZ WC_SEESTATUS;
209extern PCSZ WC_STATUS;
210extern PCSZ WC_TOOLBACK;
211extern PCSZ WC_TOOLBUTTONS;
212extern PCSZ WC_TREECONTAINER;
213extern PCSZ WC_TREEOPENBUTTON;
214extern PCSZ WC_TREESTATUS;
215extern PCSZ WC_VIEWSTATUS;
216extern BOOL fDontSuggestAgain;
217extern BOOL fInitialDriveScan;
218extern BOOL fAmAV2;
219extern BOOL fChangeTarget;
220extern BOOL fIniExisted;
221extern BOOL fLogFile;
222extern BOOL fProtectOnly;
223extern BOOL fReminimize;
224extern BOOL fWantFirstTimeInit;
225extern BOOL fUseShellEnv;
226extern HPOINTER hptrApp;
227extern HPOINTER hptrArc;
228extern HPOINTER hptrArrow;
229extern HPOINTER hptrArt;
230extern HPOINTER hptrBusy;
231extern HPOINTER hptrCDROM;
232extern HPOINTER hptrDrive;
233extern HPOINTER hptrEW;
234extern HPOINTER hptrFloppy;
235extern HPOINTER hptrNS;
236extern HPOINTER hptrRamdisk;
237extern HPOINTER hptrRemote;
238extern HPOINTER hptrRemovable;
239extern HPOINTER hptrVirtual;
240extern HPOINTER hptrZipstrm;
241extern CHAR *pFM2SaveDirectory;
242extern CHAR *pTmpDir;
243extern CHAR profile[CCHMAXPATH];
244extern CHAR *pLibPathStrict;
245extern ULONGLONG ullTmpSpaceNeeded;
246#ifdef INCL_DOSSEMAPHORES
247extern HMTX hmtxFM2Globals;
248extern HMTX hmtxFM2Delete;
249extern HMTX hmtxFiltering;
250
251#endif
252
253#endif // INIT_H
Note: See TracBrowser for help on using the repository browser.