| [907] | 1 |  | 
|---|
|  | 2 | /*********************************************************************** | 
|---|
|  | 3 |  | 
|---|
| [1195] | 4 | $Id: comp.h 1670 2012-08-13 01:33:25Z gyoung $ | 
|---|
| [907] | 5 |  | 
|---|
|  | 6 | compare interface | 
|---|
|  | 7 |  | 
|---|
|  | 8 | Copyright (c) 1993-98 M. Kimes | 
|---|
| [1469] | 9 | Copyright (c) 2001, 2009 Steven H. Levine | 
|---|
| [907] | 10 |  | 
|---|
|  | 11 | 05 Jan 08 SHL Split from fm3dll.h | 
|---|
| [929] | 12 | 18 Jan 08 SHL Sync with count update mods | 
|---|
| [1469] | 13 | 27 Sep 09 SHL Support AND'ed selections | 
|---|
| [1670] | 14 | 12 Aug 12 GKY Allow for selection of include subdirectories or a list file on initial startup of compare dirs | 
|---|
| [907] | 15 |  | 
|---|
|  | 16 | ***********************************************************************/ | 
|---|
|  | 17 |  | 
|---|
|  | 18 | #if !defined(COMP_H) | 
|---|
|  | 19 |  | 
|---|
|  | 20 | #define COMP_H | 
|---|
|  | 21 |  | 
|---|
|  | 22 | #if !defined(OS2_INCLUDED) | 
|---|
|  | 23 | #define INCL_WINSTDCNR                  // dircnrs.h | 
|---|
|  | 24 | #include <os2.h> | 
|---|
|  | 25 | #else | 
|---|
|  | 26 | #if !defined(INCL_WINSTDCNR) | 
|---|
|  | 27 | #error INCL_WINSTDCNR required | 
|---|
|  | 28 | #endif | 
|---|
|  | 29 | #endif | 
|---|
|  | 30 |  | 
|---|
|  | 31 | #include "dircnrs.h"                    // DIRCNRDATA | 
|---|
|  | 32 |  | 
|---|
|  | 33 | typedef struct | 
|---|
|  | 34 | { | 
|---|
|  | 35 | USHORT size; | 
|---|
|  | 36 | USHORT dummy; | 
|---|
|  | 37 | CHAR file1[CCHMAXPATH]; | 
|---|
|  | 38 | CHAR file2[CCHMAXPATH]; | 
|---|
|  | 39 | HWND hwndParent; | 
|---|
|  | 40 | HWND hwndList; | 
|---|
|  | 41 | HWND hwndReport; | 
|---|
|  | 42 | HWND hwndHelp; | 
|---|
|  | 43 | } | 
|---|
|  | 44 | FCOMPARE; | 
|---|
|  | 45 |  | 
|---|
|  | 46 | typedef struct COMPARE | 
|---|
|  | 47 | { | 
|---|
| [1469] | 48 | USHORT size;                          // Structure size | 
|---|
|  | 49 | USHORT shiftstate;                    // For AND'ed selections | 
|---|
| [907] | 50 | HWND hwnd; | 
|---|
|  | 51 | HWND hwndParent; | 
|---|
|  | 52 | CHAR leftdir[CCHMAXPATH + 2]; | 
|---|
|  | 53 | CHAR rightdir[CCHMAXPATH + 2]; | 
|---|
|  | 54 | BOOL forcescroll; | 
|---|
| [1469] | 55 | BOOL filling;                         // Set when thread working | 
|---|
|  | 56 | BOOL stop;                            // Requests thread stop | 
|---|
| [907] | 57 | BOOL includesubdirs; | 
|---|
| [1670] | 58 | BOOL listfile; | 
|---|
| [1469] | 59 | INT action;                           // IDM_... | 
|---|
|  | 60 | UINT selleft;                         // # selected | 
|---|
| [907] | 61 | UINT selright; | 
|---|
|  | 62 | UINT totalleft; | 
|---|
|  | 63 | UINT totalright; | 
|---|
| [929] | 64 | UINT uOldSelLeft; | 
|---|
|  | 65 | UINT uOldSelRight; | 
|---|
|  | 66 | UINT uOldTotalLeft; | 
|---|
|  | 67 | UINT uOldTotalRight; | 
|---|
| [1469] | 68 | CHAR rightlist[CCHMAXPATH];           // Snapshot file name | 
|---|
| [907] | 69 | HWND hwndCalling; | 
|---|
| [1469] | 70 | struct COMPARE *cmp;                  // Points to caller's compare structure | 
|---|
| [907] | 71 | struct DIRCNRDATA dcd; | 
|---|
|  | 72 | } | 
|---|
|  | 73 | COMPARE; | 
|---|
|  | 74 |  | 
|---|
|  | 75 | MRESULT EXPENTRY CFileDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2); | 
|---|
|  | 76 | MRESULT EXPENTRY CompareDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2); | 
|---|
|  | 77 |  | 
|---|
| [1205] | 78 | // Data declarations | 
|---|
|  | 79 | extern BOOL fSelectedAlways; | 
|---|
|  | 80 |  | 
|---|
| [907] | 81 | #endif // COMP_H | 
|---|