source: trunk/dll/init.h@ 1551

Last change on this file since 1551 was 1551, checked in by Gregg Young, 15 years ago

This code adds the semaphores to prevent a rescan from starting before the current one is finished; it fixes the double directory listing in the tree container and streamlines scanning. It update mapsym.pl to the latest version. Some code cleanup is included

  • Property svn:eolstyle set to native
  • Property svn:keywords set to Id
File size: 6.5 KB
Line 
1
2/***********************************************************************
3
4 $Id: init.h 1551 2010-11-15 03:33:25Z gyoung $
5
6 <<<description here>>>
7
8 Copyright (c) 1993-98 M. Kimes
9 Copyright (c) 2008-10 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). Mostly cast CHAR CONSTANT * as CHAR *.
26
27***********************************************************************/
28
29#if !defined(INIT_H)
30#define INIT_H
31
32BOOL InitFM3DLL(HAB hab, int argc, char **argv);
33HWND StartFM3(HAB hab, INT argc, CHAR ** argv);
34
35// Data declarations
36extern PCSZ PCSZ_ARCHIVERBB2;
37extern PCSZ PCSZ_ASSOCDAT;
38extern PCSZ PCSZ_CMDLINESDAT;
39extern PCSZ PCSZ_CMDMINIDAT;
40extern PCSZ PCSZ_COMMANDSDAT;
41extern PCSZ PCSZ_FILTERSDAT;
42extern PCSZ PCSZ_GREPMASKDAT;
43extern PCSZ PCSZ_PATTERNSDAT;
44extern PCSZ PCSZ_RESOURCEDAT;
45extern PCSZ PCSZ_QUICKTLSDAT;
46extern PCSZ PCSZ_FM3TOOLSDAT;
47extern PCSZ PCSZ_USERDIRSDAT;
48extern PCSZ PCSZ_FM2PLAYEXE;
49extern PCSZ PCSZ_FM2PLAYTEMP;
50extern PCSZ PCSZ_LVMGUICMD;
51extern PCSZ PCSZ_DFSOS2EXE;
52extern PCSZ PCSZ_MINILVMEXE;
53extern PCSZ PCSZ_FDISKPMEXE;
54extern PCSZ PCSZ_IMAGEEXE;
55extern PCSZ PCSZ_LVMEXE;
56extern PCSZ PCSZ_ARCCNR;
57extern PCSZ PCSZ_COLLECTOR;
58extern PCSZ PCSZ_DIRCNR;
59extern PCSZ PCSZ_DIRCMP;
60extern PCSZ PCSZ_DIRSIZES;
61extern PCSZ PCSZ_TOOLBAR;
62extern PCSZ PCSZ_TREECNR;
63extern PCSZ PCSZ_SHUTDOWNSTATE;
64extern PCSZ PCSZ_FM2TEMPTEXT;
65extern PCSZ DRMDRFFM2ARC;
66extern PCSZ DRF_FM2ARCHIVE;
67extern PCSZ DRMDRFOS2FILE;
68extern PCSZ DRM_FM2ARCMEMBER;
69extern PCSZ DRM_OS2FILE;
70extern PCSZ FM2Str;
71extern PCSZ FM3Folder;
72extern CHAR HomePath[CCHMAXPATH];
73extern PCSZ LONGNAME;
74extern CHAR *NullStr;
75extern ULONG OS2ver[2];
76extern PFNWP PFNWPCnr;
77extern PFNWP PFNWPMLE;
78extern PCSZ Settings;
79extern PCSZ Details;
80extern PCSZ PCSZ_TREE;
81extern PCSZ PCSZ_ICON;
82extern CHAR SwapperDat[CCHMAXPATH];
83extern CHAR ThousandsSeparator[2];
84extern CHAR DateSeparator[2];
85extern CHAR TimeSeparator[2];
86extern ULONG ulTimeFmt;
87extern ULONG ulDateFmt;
88extern ULONG ulScanPostCnt;
89extern PCSZ FNT_HELVETICA;
90extern PCSZ FNT_6HELVETICA;
91extern PCSZ FNT_8HELVETICA;
92extern PCSZ FNT_8HELVETICABOLD;
93extern PCSZ FNT_10SYSTEMMONOTEXT;
94extern PCSZ FNT_10SYSTEMPROPORT;
95extern PCSZ FNT_2SYSTEMVIO;
96extern PCSZ FNT_4SYSTEMVIO;
97extern PCSZ FNT_10SYSTEMVIO;
98extern PCSZ FNT_8TIMESNEWROMAN;
99extern PCSZ PCSZ_CM_ALLOCRECORD;
100extern PCSZ PCSZ_DOSCREATEMUTEXSEM;
101extern PCSZ PCSZ_DOSCREATEEVENTSEM;
102extern PCSZ PCSZ_DOSDUPHANDLE;
103extern PCSZ PCSZ_DOSGETINFOBLOCKS;
104extern PCSZ PCSZ_DOSQUERYPATHINFO;
105extern PCSZ PCSZ_DOSSEARCHPATH;
106extern PCSZ PCSZ_DRGACCESSDRAGINFO;
107extern PCSZ PCSZ_POSTMSG;
108extern PCSZ PCSZ_WINCREATEWINDOW;
109extern PCSZ PCSZ_WINLOADACCELTABLE;
110extern PCSZ PCSZ_WINSETACCELTABLE;
111extern PCSZ PCSZ_INIQUERYPRFTEXT;
112extern PCSZ PCSZ_PRFOPENPROFILEFAILED;
113extern PCSZ PCSZ_PRFQUERYPROFILEDATA;
114extern PCSZ PCSZ_PRFQUERYPROFILESIZE;
115extern PCSZ PCSZ_PRFQUERYPROFILESTRING;
116extern PCSZ PCSZ_FILLDIRQCURERRTEXT;
117extern PCSZ PCSZ_NODATA;
118extern PCSZ PCSZ_BACKSLASH;
119extern PCSZ PCSZ_STARDOTEXE;
120extern PCSZ PCSZ_STARDOTINI;
121extern PCSZ PCSZ_STARDOTLST;
122extern PCSZ PCSZ_STARDOTPMD;
123extern PCSZ PCSZ_STARDOTTXT;
124extern PCSZ PCSZ_DOTEXE;
125extern PCSZ PCSZ_DOTCOM;
126extern PCSZ PCSZ_DOTCMD;
127extern PCSZ PCSZ_DOTBTM;
128extern PCSZ PCSZ_DOTBAT;
129extern PCSZ PCSZ_DOTLST;
130extern PCSZ PCSZ_DOTTLS;
131extern PCSZ PCSZ_DOTHLP;
132extern PCSZ PCSZ_DOTINF;
133extern PCSZ PCSZ_DOTMP3;
134extern PCSZ PCSZ_DOTMPG;
135extern PCSZ PCSZ_DOTMPEG;
136extern PCSZ PCSZ_DOTOGG;
137extern PCSZ PCSZ_DOTFLAC;
138extern PCSZ PCSZ_DOTJPEG;
139extern PCSZ PCSZ_DOTJPG;
140extern PCSZ PCSZ_DOTICO;
141extern PCSZ PCSZ_DOTPTR;
142extern PCSZ PCSZ_DOTBB2;
143extern PCSZ PCSZ_DOTBMP;
144extern PCSZ PCSZ_DOTCOMMENTS;
145extern PCSZ PCSZ_PATH;
146extern PCSZ PCSZ_LIBPATH;
147extern PCSZ PCSZ_WPURLDEFAULTSETTINGS;
148extern PCSZ WC_ARCCONTAINER;
149extern PCSZ WC_ARCSTATUS;
150extern PCSZ WC_AUTOVIEW;
151extern PCSZ WC_BUBBLE;
152extern PCSZ WC_COLLECTOR;
153extern PCSZ WC_COLSTATUS;
154extern PCSZ WC_DATABAR;
155extern PCSZ WC_DIRCONTAINER;
156extern PCSZ WC_DIRSTATUS;
157extern PCSZ WC_DRIVEBACK;
158extern PCSZ WC_DRIVEBUTTONS;
159extern PCSZ WC_ERRORWND;
160extern PCSZ WC_INIEDITOR;
161extern PCSZ WC_LED;
162extern PCSZ WC_MAINWND;
163extern PCSZ WC_MAINWND2;
164extern PCSZ WC_MINITIME;
165extern PCSZ WC_MLEEDITOR;
166extern PCSZ WC_NEWVIEW;
167extern PCSZ WC_OBJECTWINDOW;
168extern PCSZ WC_SEEALL;
169extern PCSZ WC_SEESTATUS;
170extern PCSZ WC_STATUS;
171extern PCSZ WC_TOOLBACK;
172extern PCSZ WC_TOOLBUTTONS;
173extern PCSZ WC_TREECONTAINER;
174extern PCSZ WC_TREEOPENBUTTON;
175extern PCSZ WC_TREESTATUS;
176extern PCSZ WC_VIEWSTATUS;
177extern BOOL fDontSuggestAgain;
178extern BOOL fInitialDriveScan;
179extern BOOL fAmAV2;
180extern BOOL fChangeTarget;
181extern BOOL fIniExisted;
182extern BOOL fLogFile;
183extern BOOL fProtectOnly;
184extern BOOL fReminimize;
185extern BOOL fWantFirstTimeInit;
186extern HPOINTER hptrApp;
187extern HPOINTER hptrArc;
188extern HPOINTER hptrArrow;
189extern HPOINTER hptrArt;
190extern HPOINTER hptrBusy;
191extern HPOINTER hptrCDROM;
192extern HPOINTER hptrDrive;
193extern HPOINTER hptrEW;
194extern HPOINTER hptrFloppy;
195extern HPOINTER hptrNS;
196extern HPOINTER hptrRamdisk;
197extern HPOINTER hptrRemote;
198extern HPOINTER hptrRemovable;
199extern HPOINTER hptrVirtual;
200extern HPOINTER hptrZipstrm;
201extern CHAR *pFM2SaveDirectory;
202extern CHAR *pTmpDir;
203extern CHAR profile[CCHMAXPATH];
204extern CHAR *pLibPathStrict;
205extern ULONGLONG ullTmpSpaceNeeded;
206#ifdef INCL_DOSSEMAPHORES
207extern HMTX hmtxFM2Globals;
208extern HMTX hmtxFM2Delete;
209extern HEV hevTreeCnrScanComplete;
210#endif
211
212#endif // INIT_H
Note: See TracBrowser for help on using the repository browser.