source: trunk/dll/comp.h@ 1670

Last change on this file since 1670 was 1670, checked in by Gregg Young, 13 years ago

Add ability to change and save PresParam to compare dialog (Ticket 443) Fix loading of a list file in the right compare container (Ticket 489) Allow for selection of include subdirectories or a list file on initial startup of compare dirs (Ticket 145)

  • Property svn:eolstyle set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1
2/***********************************************************************
3
4 $Id: comp.h 1670 2012-08-13 01:33:25Z gyoung $
5
6 compare interface
7
8 Copyright (c) 1993-98 M. Kimes
9 Copyright (c) 2001, 2009 Steven H. Levine
10
11 05 Jan 08 SHL Split from fm3dll.h
12 18 Jan 08 SHL Sync with count update mods
13 27 Sep 09 SHL Support AND'ed selections
14 12 Aug 12 GKY Allow for selection of include subdirectories or a list file on initial startup of compare dirs
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
33typedef 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}
44FCOMPARE;
45
46typedef struct COMPARE
47{
48 USHORT size; // Structure size
49 USHORT shiftstate; // For AND'ed selections
50 HWND hwnd;
51 HWND hwndParent;
52 CHAR leftdir[CCHMAXPATH + 2];
53 CHAR rightdir[CCHMAXPATH + 2];
54 BOOL forcescroll;
55 BOOL filling; // Set when thread working
56 BOOL stop; // Requests thread stop
57 BOOL includesubdirs;
58 BOOL listfile;
59 INT action; // IDM_...
60 UINT selleft; // # selected
61 UINT selright;
62 UINT totalleft;
63 UINT totalright;
64 UINT uOldSelLeft;
65 UINT uOldSelRight;
66 UINT uOldTotalLeft;
67 UINT uOldTotalRight;
68 CHAR rightlist[CCHMAXPATH]; // Snapshot file name
69 HWND hwndCalling;
70 struct COMPARE *cmp; // Points to caller's compare structure
71 struct DIRCNRDATA dcd;
72}
73COMPARE;
74
75MRESULT EXPENTRY CFileDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
76MRESULT EXPENTRY CompareDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
77
78// Data declarations
79extern BOOL fSelectedAlways;
80
81#endif // COMP_H
Note: See TracBrowser for help on using the repository browser.