Changeset 1209 for trunk/dll/init.c


Ignore:
Timestamp:
Sep 13, 2008, 8:51:06 AM (17 years ago)
Author:
John Small
Message:

Ticket 187: Move data declarations/definitions out of fm3dll.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/init.c

    r1177 r1209  
    7878
    7979#include "fm3dll.h"
     80#include "mkdir.h"                      // Data declaration(s)
     81#include "dircnrs.h"                    // Data declaration(s)
     82#include "comp.h"                       // Data declaration(s)
     83#include "cmdline.h"                    // Data declaration(s)
     84#include "fm2cmd.h"                     // Data declaration(s)
     85#include "printer.h"                    // Data declaration(s)
     86#include "init.h"                       // Data declaration(s)
     87#include "flesh.h"                      // Data declaration(s)
     88#include "worker.h"                     // Data declaration(s)
     89#include "filldir.h"                    // Data declaration(s)
     90#include "defview.h"                    // Data declaration(s)
     91#include "draglist.h"                   // Data declaration(s)
    8092#include "fm3dlg.h"
    8193#include "datamin.h"
     
    101113#include "notify.h"                     // NotifyWndProc
    102114#include "treecnr.h"                    // OpenButtonProc
    103 #include "seeall.h"                     // SeeAllWndProc, SeeStatusProc
    104 #include "init.h"
    105 #include "timer.h"                      // StartTimer, StopTimer
    106 #include "treecnr.h"                    // TreeClientWndProc, TreeStatProc
    107 #include "newview.h"                    // ViewStatusProc, ViewWndProc
    108 #include "subj.h"                       // Subject
    109 #include "select.h"                     // UnHilite
    110 #include "dirs.h"                       // save_dir
    111 #include "copyf.h"                      // unlinkf
    112 #include "wrappers.h"                   // xDosSetPathInfo
     115#include "seeall.h"                     // SeeAllWndProc, SeeStatusProc
     116#include "timer.h"                      // StartTimer, StopTimer
     117#include "treecnr.h"                    // TreeClientWndProc, TreeStatProc
     118#include "newview.h"                    // ViewStatusProc, ViewWndProc
     119#include "subj.h"                       // Subject
     120#include "select.h"                     // UnHilite
     121#include "dirs.h"                       // save_dir
     122#include "copyf.h"                      // unlinkf
     123#include "wrappers.h"                   // xDosSetPathInfo
    113124#include "misc.h"                       // HeapThread, LoadDetailsSwitches
    114125#include "notebook.h"                   // command line variables (editor etc)
    115 #include "strips.h"                     // bstrip
    116 #include "killproc.h"                   // GetDosPgmName
    117 #include "srchpath.h"                   // searchpath
     126#include "strips.h"                     // bstrip
     127#include "killproc.h"                   // GetDosPgmName
     128#include "srchpath.h"                   // searchpath
    118129#include "fortify.h"
    119130
     
    135146#endif
    136147
     148// Data definitions
    137149static PSZ pszSrcFile = __FILE__;
    138 
     150static CHAR *WC_MAINWND;
     151
     152#pragma data_seg(GLOBAL1)
     153ULONG OS2ver[2];
     154PFNWP PFNWPCnr;
     155PFNWP PFNWPMLE;
     156CHAR ThousandsSeparator[2];
     157BOOL fAmAV2;
     158BOOL fChangeTarget;
     159BOOL fIniExisted;
     160BOOL fLogFile;
     161BOOL fReminimize;
     162BOOL fWantFirstTimeInit;
     163HPOINTER hptrApp;
     164HPOINTER hptrArc;
     165HPOINTER hptrArrow;
     166HPOINTER hptrArt;
     167HPOINTER hptrBusy;
     168HPOINTER hptrCDROM;
     169HPOINTER hptrDrive;
     170HPOINTER hptrEW;
     171HPOINTER hptrFloppy;
     172HPOINTER hptrNS;
     173HPOINTER hptrRamdisk;
     174HPOINTER hptrRemote;
     175HPOINTER hptrRemovable;
     176HPOINTER hptrVirtual;
     177HPOINTER hptrZipstrm;
     178CHAR *pFM2SaveDirectory;
     179CHAR *pTmpDir;
     180
     181#pragma data_seg(GLOBAL2)
     182CHAR *CBSIFS;
     183CHAR *DRF_FM2ARCHIVE;
     184CHAR *DRMDRFFM2ARC;
     185CHAR *DRMDRFOS2FILE;
     186CHAR *DRM_FM2ARCMEMBER;
     187CHAR *DRM_OS2FILE;
     188CHAR *FM2Str;
     189HMODULE FM3DllHandle;
     190CHAR *FM3Folder;
     191CHAR HomePath[CCHMAXPATH];
     192CHAR *LONGNAME;
     193CHAR *NullStr;
     194CHAR *Settings;
     195CHAR SwapperDat[CCHMAXPATH];
     196CHAR *WC_ARCCONTAINER;
     197CHAR *WC_ARCSTATUS;
     198CHAR *WC_AUTOVIEW;
     199CHAR *WC_BUBBLE;
     200CHAR *WC_COLLECTOR;
     201CHAR *WC_COLSTATUS;
     202CHAR *WC_DATABAR;
     203CHAR *WC_DIRCONTAINER;
     204CHAR *WC_DIRSTATUS;
     205CHAR *WC_DRIVEBACK;
     206CHAR *WC_DRIVEBUTTONS;
     207CHAR *WC_ERRORWND;
     208CHAR *WC_INIEDITOR;
     209CHAR *WC_LED;
     210CHAR *WC_MAINWND2;
     211CHAR *WC_MINITIME;
     212CHAR *WC_MLEEDITOR;
     213CHAR *WC_NEWVIEW;
     214CHAR *WC_OBJECTWINDOW;
     215CHAR *WC_SEEALL;
     216CHAR *WC_SEESTATUS;
     217CHAR *WC_STATUS;
     218CHAR *WC_TOOLBACK;
     219CHAR *WC_TOOLBUTTONS;
     220CHAR *WC_TREECONTAINER;
     221CHAR *WC_TREEOPENBUTTON;
     222CHAR *WC_TREESTATUS;
     223CHAR *WC_VIEWSTATUS;
    139224VOID FindSwapperDat(VOID);
     225CHAR profile[CCHMAXPATH];
     226ULONGLONG ullTmpSpaceNeeded;
    140227
    141228BOOL CheckFileHeader(CHAR *filespec, CHAR *signature, LONG offset);
Note: See TracChangeset for help on using the changeset viewer.