Changeset 1206 for trunk/dll


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

Ticket 187: Move datadevlarations/definitions out of fm3dll.h

Location:
trunk/dll
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/copyf.c

    r1193 r1206  
    3434
    3535#include "fm3dll.h"
     36#include "killproc.h"                   // Data declaration(s)
     37#include "notebook.h"                   // Data declaration(s)
     38#include "info.h"                       // Data declaration(s)
     39#include "init.h"                       // Data declaration(s)
     40#include "arccnrs.h"
    3641#include "fm3str.h"
    3742#include "errutil.h"                    // Dos_Error...
  • trunk/dll/datamin.c

    r1178 r1206  
    3636
    3737#include "fm3dll.h"
     38#include "info.h"                       // Data declaration(s)
     39#include "notebook.h"                   // Data declaration(s)
     40#include "inis.h"                       // Data declaration(s)
     41#include "init.h"                       // Data declaration(s)
     42#include "defview.h"                    // Data declaration(s)
    3843#include "fm3dlg.h"
    3944#include "fm3str.h"
     
    5762#include "fortify.h"
    5863
    59 #pragma data_seg(DATA2)
    60 
    61 static PSZ pszSrcFile = __FILE__;
    62 
    6364APIRET16 APIENTRY16 Dos16MemAvail(PULONG pulAvailMem);
    6465
     
    6768
    6869static VOID dataminThread(VOID * pv);
     70
     71// Data definitions
     72#pragma data_seg(GLOBAL1)
     73HWND DataHwnd;
     74BOOL fDataInclRemote;
     75BOOL fDataShowDrives;
     76BOOL fDataToFore;
     77BOOL fDullMin;
     78
     79#pragma data_seg(DATA2)
     80
     81static PSZ pszSrcFile = __FILE__;
    6982
    7083long MINI_X = 208, MINI_Y = 16;
  • trunk/dll/datamin.h

    r902 r1206  
    3939HWND CreateDataBar(HWND hwndParent, ULONG fl);
    4040
     41// Data declarations
     42extern HWND DataHwnd;
     43extern BOOL fDataInclRemote;
     44extern BOOL fDataShowDrives;
     45extern BOOL fDataToFore;
     46extern BOOL fDullMin;
     47
    4148#endif // DATAMIN_H
  • trunk/dll/defview.c

    r1189 r1206  
    3434#include <os2me.h>
    3535
     36#include "fm3dll.h"
     37#include "mainwnd2.h"                   // Data declaration(s)
     38#include "init.h"                       // Data declaration(s)
    3639#include "fm3dlg.h"
    3740#include "arccnrs.h"                    // StartArcCnr
     
    4952#include "viewer.h"                     // StartMLEEditor
    5053#include "newview.h"                    // StartViewer
    51 #include "fm3dll.h"
     54#include "mainwnd.h"                    // Data declaration(s)
    5255#include "misc.h"                       // ExecFile, ViewHelp
    5356
     57// Data definitions
    5458static PSZ pszSrcFile = __FILE__;
     59
     60#pragma data_seg(GLOBAL2)
     61CHAR *Default;
    5562
    5663BOOL ShowMultimedia(CHAR * filename)
  • trunk/dll/defview.h

    r1195 r1206  
    2626BOOL ShowMultimedia(CHAR * filename);
    2727
     28// Data declarations
     29extern CHAR *Default;
    2830
    2931#endif // DEFVIEW_H
  • trunk/dll/dircnrs.c

    r1177 r1206  
    6565
    6666#include "fm3dll.h"
     67#include "mainwnd2.h"                   // Data declaration(s)
     68#include "grep.h"                       // Data declaration(s)
     69#include "info.h"                       // Data declaration(s)
     70#include "treecnr.h"                    // Data declaration(s)
     71#include "dircnrs.h"                    // Data declaration(s)
     72#include "init.h"                       // Data declaration(s)
    6773#include "fm3dlg.h"
    6874#include "fm3str.h"
     
    118124#include "wrappers.h"                   // xfree
    119125#include "fortify.h"
     126
     127// Data definitions
     128#pragma data_seg(GLOBAL1)
     129HWND DirCnrMenu;
     130HWND hwndAttr;
     131HWND hwndDate;
     132
     133#pragma data_seg(GLOBAL2)
     134INT sortFlags;
    120135
    121136#pragma data_seg(DATA1)
  • trunk/dll/dircnrs.h

    r1195 r1206  
    169169#endif
    170170
     171// Data declarations
     172extern HWND DirCnrMenu;
     173extern HWND hwndAttr;
     174extern HWND hwndDate;
     175extern INT sortFlags;
     176
    171177#endif // DIRCNRS_H
  • trunk/dll/dirs.c

    r1159 r1206  
    2020
    2121#include "fm3dll.h"
     22#include "init.h"                       // Data declaration(s)
    2223#include "dirs.h"
    2324#include "valid.h"                      // IsValidDir
  • trunk/dll/dirsize.c

    r1177 r1206  
    5656
    5757#include "fm3dll.h"
     58#include "draglist.h"                   // Data declaration(s)
     59#include "init.h"                       // Data declaration(s)
     60#include "notebook.h"                   // Data declaration(s)
     61#include "mainwnd.h"                    // Data declaration(s)
     62#include "newview.h"                    // Data declarations
    5863#include "fm3dlg.h"
    5964#include "fm3str.h"
  • trunk/dll/dirsize.h

    r1196 r1206  
    1616#define DIRSIZE_H
    1717
     18#define DIRSIZE_FRAME               100
     19#define DIRSIZE_LISTBOX             101
     20#define DIRSIZE_LABEL               102
     21#define DIRSIZE_UNITSFREE           103
     22#define DIRSIZE_UNITSIZE            104
     23#define DIRSIZE_PERCENT             105
     24#define DIRSIZE_BYTESUSED           106
     25#define DIRSIZE_BYTESFREE           107
     26#define DIRSIZE_UNITSUSED           108
     27#define DIRSIZE_IFS                 109
     28#define DIRSIZE_LOCAL               110
     29#define DIRSIZE_SLIDER              111
     30
    1831MRESULT EXPENTRY DirSizeProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
    1932
Note: See TracChangeset for help on using the changeset viewer.