source: trunk/dll/init.h@ 1444

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

Rework of drivebar to rescan all drives and refresh media buttons and menu items grey out inappropriate menu items. Streamline Tree scan code and use semaphores to serialize access. Add NOEASUPPORT and LOCALHD driveflag; .LONGNAME usage fixes; (Tickets 377-386)

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