source: trunk/dll/walkem.h@ 1570

Last change on this file since 1570 was 1394, checked in by Steven Levine, 17 years ago

Ticket 340: Convert GetPString to use STRINGTABLE.

Drop fm3dll.str and mkstr.exe from makefiles and wpi builders

Convert many functions to expect PCSZ arguments.
Correct walk, compare and dirsizes dialog setups to ignore saved dialog size
Drop copyright.c logic from makefile

  • 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 1394 2009-02-05 04:17:25Z stevenhl $
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
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(PCSZ 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_ldir(VOID);
67VOID free_setups(VOID);
68#endif
69
70// Data declarations
71extern BOOL fUdirsChanged;
72extern LINKDIRS *ldirhead;
73extern BOOL loadedudirs;
74extern LINKDIRS *udirhead;
75
76#endif // WALKEM_H
Note: See TracBrowser for help on using the repository browser.