source: trunk/dll/init.h@ 1479

Last change on this file since 1479 was 1479, checked in by Gregg Young, 16 years ago

Work around MMIO's failure to recognize MPG files as media. Reorder file type checks to eliminate problem with MMIO identifying exes etc as media. Check for zero byte file and let user decide to open in an editor or abort (also prevents MMIO misidentification). Tickets 70, 405, 409, 410

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