source: trunk/dll/walkem.h@ 1303

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

Ticket 187: Moved typedef's and some #define's from fm3dll.h

  • Property svn:eolstyle set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1
2/***********************************************************************
3
4 $Id: walkem.h 1228 2008-09-13 23:13:40Z jbs $
5
6 Misc persistent lists support
7
8 Copyright (c) 1993-98 M. Kimes
9 Copyright (c) 2008 Steven H. Levine
10
11 17 Jul 08 SHL Baseline
12
13***********************************************************************/
14
15#if !defined(WALKEM_H)
16#define WALKEM_H
17
18#if !defined(OS2_INCLUDED)
19#include <os2.h>
20#endif
21
22typedef struct
23{
24 USHORT size;
25 USHORT dummy;
26 CHAR szCurrentPath1[CCHMAXPATH];
27 CHAR szCurrentPath2[CCHMAXPATH];
28}
29WALK2;
30
31typedef struct LINKDIRS
32{
33 CHAR *path;
34 struct LINKDIRS *next;
35}
36LINKDIRS;
37
38VOID FillPathListBox(HWND hwnd, HWND hwnddrive, HWND hwnddir, PSZ path,
39 BOOL nounwriteable);
40MRESULT EXPENTRY WalkAllDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
41MRESULT EXPENTRY WalkCopyDlgProc(HWND hwnd, ULONG msg, MPARAM mp1,
42 MPARAM mp2);
43MRESULT EXPENTRY WalkDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
44MRESULT EXPENTRY WalkExtractDlgProc(HWND hwnd, ULONG msg, MPARAM mp1,
45 MPARAM mp2);
46MRESULT EXPENTRY WalkMoveDlgProc(HWND hwnd, ULONG msg, MPARAM mp1,
47 MPARAM mp2);
48MRESULT EXPENTRY WalkTargetDlgProc(HWND hwnd, ULONG msg, MPARAM mp1,
49 MPARAM mp2);
50MRESULT EXPENTRY WalkTwoCmpDlgProc(HWND hwnd, ULONG msg, MPARAM mp1,
51 MPARAM mp2);
52MRESULT EXPENTRY WalkTwoSetDlgProc(HWND hwnd, ULONG msg, MPARAM mp1,
53 MPARAM mp2);
54INT add_setup(PSZ stateName);
55BOOL add_udir(BOOL userdirs, PSZ inpath);
56VOID fill_setups_list(VOID);
57VOID free_ldir(VOID);
58VOID free_udirs(VOID);
59VOID load_udirs(VOID);
60INT remove_setup(PSZ stateName);
61BOOL remove_udir(PSZ path);
62VOID save_setups(VOID);
63VOID save_udirs(VOID);
64
65#ifdef FORTIFY
66VOID free_setups(VOID);
67#endif
68
69// Data declarations
70extern BOOL fUdirsChanged;
71extern LINKDIRS *ldirhead;
72extern BOOL loadedudirs;
73extern LINKDIRS *udirhead;
74
75#endif // WALKEM_H
Note: See TracBrowser for help on using the repository browser.