source: trunk/dll/comp.h@ 1205

Last change on this file since 1205 was 1205, checked in by John Small, 17 years ago

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

  • Property svn:eolstyle set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
RevLine 
[907]1
2/***********************************************************************
3
[1195]4 $Id: comp.h 1205 2008-09-13 06:47:51Z jbs $
[907]5
6 compare interface
7
8 Copyright (c) 1993-98 M. Kimes
9 Copyright (c) 2001, 2008 Steven H. Levine
10
11 05 Jan 08 SHL Split from fm3dll.h
[929]12 18 Jan 08 SHL Sync with count update mods
[907]13
14***********************************************************************/
15
16#if !defined(COMP_H)
17
18#define COMP_H
19
20#if !defined(OS2_INCLUDED)
21#define INCL_WINSTDCNR // dircnrs.h
22#include <os2.h>
23#else
24#if !defined(INCL_WINSTDCNR)
25#error INCL_WINSTDCNR required
26#endif
27#endif
28
29#include "dircnrs.h" // DIRCNRDATA
30
31typedef struct
32{
33 USHORT size;
34 USHORT dummy;
35 CHAR file1[CCHMAXPATH];
36 CHAR file2[CCHMAXPATH];
37 HWND hwndParent;
38 HWND hwndList;
39 HWND hwndReport;
40 HWND hwndHelp;
41}
42FCOMPARE;
43
44typedef struct COMPARE
45{
46 USHORT size;
47 HWND hwnd;
48 HWND hwndParent;
49 CHAR leftdir[CCHMAXPATH + 2];
50 CHAR rightdir[CCHMAXPATH + 2];
51 BOOL forcescroll;
52 BOOL filling;
53 BOOL includesubdirs;
54 INT action;
55 UINT selleft;
56 UINT selright;
57 UINT totalleft;
58 UINT totalright;
[929]59 UINT uOldSelLeft;
60 UINT uOldSelRight;
61 UINT uOldTotalLeft;
62 UINT uOldTotalRight;
[907]63 CHAR rightlist[CCHMAXPATH]; // Snapshot file name
64 BOOL reset;
65 HWND hwndCalling;
66 struct COMPARE *cmp; // callers compare defintion
67 struct DIRCNRDATA dcd;
68}
69COMPARE;
70
71MRESULT EXPENTRY CFileDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
72MRESULT EXPENTRY CompareDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
73
[1205]74// Data declarations
75extern BOOL fSelectedAlways;
76
[907]77#endif // COMP_H
Note: See TracBrowser for help on using the repository browser.