source: trunk/dll/init.h@ 1498

Last change on this file since 1498 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: 6.5 KB
RevLine 
[1168]1
2/***********************************************************************
3
[1197]4 $Id: init.h 1498 2010-01-18 00:57:01Z gyoung $
[1168]5
[1197]6 <<<description here>>>
[1168]7
[1197]8 Copyright (c) 1993-98 M. Kimes
[1498]9 Copyright (c) 2008-10 Steven H. Levine
[1168]10
[1197]11 Change log
[1303]12 29 Nov 08 GKY Remove or replace with a mutex semaphore DosEnterCriSec where appropriate.
[1375]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.
[1391]15 11 Jan 09 GKY Move strings that shouldn't be translated (font names etc) compile time variables
[1395]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
[1400]19 08 Mar 09 GKY Additional strings move to PCSZs in init.c
[1444]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
[1479]24 15 Nov 09 GKY Add more PCSZs
[1498]25 17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *.
[1168]26
27***********************************************************************/
28
29#if !defined(INIT_H)
30#define INIT_H
31
[1177]32BOOL InitFM3DLL(HAB hab, int argc, char **argv);
[1168]33HWND StartFM3(HAB hab, INT argc, CHAR ** argv);
34
[1209]35// Data declarations
[1398]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;
[1400]50extern PCSZ PCSZ_LVMGUICMD;
51extern PCSZ PCSZ_DFSOS2EXE;
52extern PCSZ PCSZ_MINILVMEXE;
53extern PCSZ PCSZ_FDISKPMEXE;
[1479]54extern PCSZ PCSZ_IMAGEEXE;
[1400]55extern PCSZ PCSZ_LVMEXE;
56extern PCSZ PCSZ_ARCCNR;
57extern PCSZ PCSZ_COLLECTOR;
58extern PCSZ PCSZ_DIRCNR;
[1409]59extern PCSZ PCSZ_DIRCMP;
[1400]60extern PCSZ PCSZ_DIRSIZES;
61extern PCSZ PCSZ_TOOLBAR;
62extern PCSZ PCSZ_TREECNR;
[1402]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;
[1209]72extern CHAR HomePath[CCHMAXPATH];
[1402]73extern PCSZ LONGNAME;
[1209]74extern CHAR *NullStr;
75extern ULONG OS2ver[2];
76extern PFNWP PFNWPCnr;
77extern PFNWP PFNWPMLE;
[1402]78extern PCSZ Settings;
79extern PCSZ Details;
80extern PCSZ PCSZ_TREE;
81extern PCSZ PCSZ_ICON;
[1209]82extern CHAR SwapperDat[CCHMAXPATH];
83extern CHAR ThousandsSeparator[2];
[1395]84extern CHAR DateSeparator[2];
85extern CHAR TimeSeparator[2];
86extern ULONG ulTimeFmt;
87extern ULONG ulDateFmt;
[1436]88extern PCSZ FNT_HELVETICA;
[1400]89extern PCSZ FNT_6HELVETICA;
90extern PCSZ FNT_8HELVETICA;
91extern PCSZ FNT_8HELVETICABOLD;
92extern PCSZ FNT_10SYSTEMMONOTEXT;
93extern PCSZ FNT_10SYSTEMPROPORT;
94extern PCSZ FNT_2SYSTEMVIO;
95extern PCSZ FNT_4SYSTEMVIO;
96extern PCSZ FNT_10SYSTEMVIO;
97extern PCSZ FNT_8TIMESNEWROMAN;
[1402]98extern PCSZ PCSZ_CM_ALLOCRECORD;
[1398]99extern PCSZ PCSZ_DOSCREATEMUTEXSEM;
[1450]100extern PCSZ PCSZ_DOSCREATEEVENTSEM;
[1398]101extern PCSZ PCSZ_DOSDUPHANDLE;
102extern PCSZ PCSZ_DOSGETINFOBLOCKS;
103extern PCSZ PCSZ_DOSQUERYPATHINFO;
104extern PCSZ PCSZ_DOSSEARCHPATH;
[1402]105extern PCSZ PCSZ_DRGACCESSDRAGINFO;
[1400]106extern PCSZ PCSZ_POSTMSG;
[1395]107extern PCSZ PCSZ_WINCREATEWINDOW;
[1398]108extern PCSZ PCSZ_WINLOADACCELTABLE;
109extern PCSZ PCSZ_WINSETACCELTABLE;
[1395]110extern PCSZ PCSZ_INIQUERYPRFTEXT;
[1402]111extern PCSZ PCSZ_PRFOPENPROFILEFAILED;
[1398]112extern PCSZ PCSZ_PRFQUERYPROFILEDATA;
113extern PCSZ PCSZ_PRFQUERYPROFILESIZE;
114extern PCSZ PCSZ_PRFQUERYPROFILESTRING;
[1395]115extern PCSZ PCSZ_FILLDIRQCURERRTEXT;
[1398]116extern PCSZ PCSZ_NODATA;
[1438]117extern PCSZ PCSZ_BACKSLASH;
[1395]118extern PCSZ PCSZ_STARDOTEXE;
119extern PCSZ PCSZ_STARDOTINI;
120extern PCSZ PCSZ_STARDOTLST;
[1398]121extern PCSZ PCSZ_STARDOTPMD;
122extern PCSZ PCSZ_STARDOTTXT;
123extern PCSZ PCSZ_DOTEXE;
124extern PCSZ PCSZ_DOTCOM;
125extern PCSZ PCSZ_DOTCMD;
126extern PCSZ PCSZ_DOTBTM;
127extern PCSZ PCSZ_DOTBAT;
128extern PCSZ PCSZ_DOTLST;
129extern PCSZ PCSZ_DOTTLS;
130extern PCSZ PCSZ_DOTHLP;
131extern PCSZ PCSZ_DOTINF;
132extern PCSZ PCSZ_DOTMP3;
[1479]133extern PCSZ PCSZ_DOTMPG;
134extern PCSZ PCSZ_DOTMPEG;
[1398]135extern PCSZ PCSZ_DOTOGG;
136extern PCSZ PCSZ_DOTFLAC;
137extern PCSZ PCSZ_DOTJPEG;
138extern PCSZ PCSZ_DOTJPG;
139extern PCSZ PCSZ_DOTICO;
140extern PCSZ PCSZ_DOTPTR;
141extern PCSZ PCSZ_DOTBB2;
142extern PCSZ PCSZ_DOTBMP;
143extern PCSZ PCSZ_DOTCOMMENTS;
144extern PCSZ PCSZ_PATH;
[1400]145extern PCSZ PCSZ_LIBPATH;
146extern PCSZ PCSZ_WPURLDEFAULTSETTINGS;
147extern PCSZ WC_ARCCONTAINER;
148extern PCSZ WC_ARCSTATUS;
149extern PCSZ WC_AUTOVIEW;
150extern PCSZ WC_BUBBLE;
151extern PCSZ WC_COLLECTOR;
152extern PCSZ WC_COLSTATUS;
153extern PCSZ WC_DATABAR;
154extern PCSZ WC_DIRCONTAINER;
155extern PCSZ WC_DIRSTATUS;
156extern PCSZ WC_DRIVEBACK;
157extern PCSZ WC_DRIVEBUTTONS;
158extern PCSZ WC_ERRORWND;
159extern PCSZ WC_INIEDITOR;
160extern PCSZ WC_LED;
[1402]161extern PCSZ WC_MAINWND;
[1400]162extern PCSZ WC_MAINWND2;
163extern PCSZ WC_MINITIME;
164extern PCSZ WC_MLEEDITOR;
165extern PCSZ WC_NEWVIEW;
166extern PCSZ WC_OBJECTWINDOW;
167extern PCSZ WC_SEEALL;
168extern PCSZ WC_SEESTATUS;
169extern PCSZ WC_STATUS;
170extern PCSZ WC_TOOLBACK;
171extern PCSZ WC_TOOLBUTTONS;
172extern PCSZ WC_TREECONTAINER;
173extern PCSZ WC_TREEOPENBUTTON;
174extern PCSZ WC_TREESTATUS;
175extern PCSZ WC_VIEWSTATUS;
[1451]176extern BOOL fDontSuggestAgain;
[1320]177extern BOOL fInitialDriveScan;
[1209]178extern BOOL fAmAV2;
179extern BOOL fChangeTarget;
180extern BOOL fIniExisted;
181extern BOOL fLogFile;
[1369]182extern BOOL fProtectOnly;
[1209]183extern BOOL fReminimize;
184extern BOOL fWantFirstTimeInit;
185extern HPOINTER hptrApp;
186extern HPOINTER hptrArc;
187extern HPOINTER hptrArrow;
188extern HPOINTER hptrArt;
189extern HPOINTER hptrBusy;
190extern HPOINTER hptrCDROM;
191extern HPOINTER hptrDrive;
192extern HPOINTER hptrEW;
193extern HPOINTER hptrFloppy;
194extern HPOINTER hptrNS;
195extern HPOINTER hptrRamdisk;
196extern HPOINTER hptrRemote;
197extern HPOINTER hptrRemovable;
198extern HPOINTER hptrVirtual;
199extern HPOINTER hptrZipstrm;
200extern CHAR *pFM2SaveDirectory;
201extern CHAR *pTmpDir;
202extern CHAR profile[CCHMAXPATH];
[1400]203extern CHAR *pLibPathStrict;
[1209]204extern ULONGLONG ullTmpSpaceNeeded;
[1498]205#ifdef INCL_DOSSEMAPHORES
[1303]206extern HMTX hmtxFM2Globals;
[1313]207extern HMTX hmtxFM2Delete;
[1444]208extern HMTX hmtFillingTreeCnr;
209extern HEV hevInitialCnrScanComplete;
[1498]210#endif
[1168]211
212#endif // INIT_H
Note: See TracBrowser for help on using the repository browser.