source: trunk/dll/walkem.h@ 1844

Last change on this file since 1844 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: 2.1 KB
Line 
1
2/***********************************************************************
3
4 $Id: walkem.h 1670 2012-08-13 01:33:25Z gyoung $
5
6 Misc persistent lists support
7
8 Copyright (c) 1993-98 M. Kimes
9 Copyright (c) 2008, 2009 Steven H. Levine
10
11 17 Jul 08 SHL Baseline
12 12 Aug 12 GKY Allow for selection of include subdirectories or a list file on initial startup of compare dirs
13
14***********************************************************************/
15
16#if !defined(WALKEM_H)
17#define WALKEM_H
18
19#if !defined(OS2_INCLUDED)
20#include <os2.h>
21#endif
22
23typedef struct
24{
25 USHORT size;
26 USHORT dummy;
27 CHAR szCurrentPath1[CCHMAXPATH];
28 CHAR szCurrentPath2[CCHMAXPATH];
29 BOOL includesubdirs;
30 BOOL listfile;
31
32}
33WALK2;
34
35typedef struct LINKDIRS
36{
37 CHAR *path;
38 struct LINKDIRS *next;
39}
40LINKDIRS;
41
42VOID FillPathListBox(HWND hwnd, HWND hwnddrive, HWND hwnddir, PSZ path,
43 BOOL nounwriteable);
44MRESULT EXPENTRY WalkAllDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
45MRESULT EXPENTRY WalkCopyDlgProc(HWND hwnd, ULONG msg, MPARAM mp1,
46 MPARAM mp2);
47MRESULT EXPENTRY WalkDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
48MRESULT EXPENTRY WalkExtractDlgProc(HWND hwnd, ULONG msg, MPARAM mp1,
49 MPARAM mp2);
50MRESULT EXPENTRY WalkMoveDlgProc(HWND hwnd, ULONG msg, MPARAM mp1,
51 MPARAM mp2);
52MRESULT EXPENTRY WalkTargetDlgProc(HWND hwnd, ULONG msg, MPARAM mp1,
53 MPARAM mp2);
54MRESULT EXPENTRY WalkTwoCmpDlgProc(HWND hwnd, ULONG msg, MPARAM mp1,
55 MPARAM mp2);
56MRESULT EXPENTRY WalkTwoSetDlgProc(HWND hwnd, ULONG msg, MPARAM mp1,
57 MPARAM mp2);
58INT add_setup(PCSZ stateName);
59BOOL add_udir(BOOL userdirs, PSZ inpath);
60VOID fill_setups_list(VOID);
61VOID free_ldir(VOID);
62VOID free_udirs(VOID);
63VOID load_udirs(VOID);
64INT remove_setup(PSZ stateName);
65BOOL remove_udir(PSZ path);
66VOID save_setups(VOID);
67VOID save_udirs(VOID);
68
69#ifdef FORTIFY
70VOID free_ldir(VOID);
71VOID free_setups(VOID);
72#endif
73
74// Data declarations
75extern BOOL fUdirsChanged;
76extern LINKDIRS *ldirhead;
77extern BOOL loadedudirs;
78extern LINKDIRS *udirhead;
79
80#endif // WALKEM_H
Note: See TracBrowser for help on using the repository browser.