source: trunk/dll/flesh.h@ 1876

Last change on this file since 1876 was 1876, checked in by Gregg Young, 10 years ago

Eliminate some unnecessary Flesh and UnFlesh calls.Update icon and display name on CD/DVD eject in all cases.
Don't use Flesh thread for floppy drive scans fix them getting mistakenly identified as directories and add nonexistent subdirectories.

  • Property svn:eolstyle set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1
2/***********************************************************************
3
4 $Id: flesh.h 1876 2015-10-10 23:42:28Z gyoung $
5
6 Drive tree container management
7
8 Copyright (c) 1993-98 M. Kimes
9 Copyright (c) 2008, 2015 Steven H. Levine
10
11 07 Aug 15 SHL Rework to use AddFleshWorkRequest rather than direct calls to Stubby/Flesh/Unflesh
12 19 Aug 15 SHL Allow WaitFleshWorkListEmpty to wait for dependent items
13 22 Aug 15 GKY Remove recurse scan code.
14 27 Sep 15 GKY DosSleep times in WaitFleshWorkListEmpty set by caller
15 10 Oct 15 GKY Don't use Flesh thread for floppy drive scans fix them getting mistakenly identified
16 as directories and add nonexistent subdirectories.
17
18***********************************************************************/
19
20#if !defined(FLESH_H)
21#define FLESH_H
22
23BOOL StartFleshWorkThread(VOID);
24
25typedef enum {eStubby, eFlesh, eFleshEnv, eUnFlesh} FLESHWORKACTION;
26
27BOOL IsFleshWorkListEmpty();
28
29VOID SetFleshFocusPath(PCSZ pszPath);
30BOOL Flesh(HWND hwndCnr, PCNRITEM pciParent);
31VOID UnFlesh(HWND hwndCnr, PCNRITEM pciParent);
32#if 0 // 2015-08-03 SHL FIXME debug
33VOID WaitFleshWorkListEmpty(PCSZ pszDirName, ULONG ulSleep);
34#else
35#define WaitFleshWorkListEmpty(pszDirName, ulSleep) WaitFleshWorkListEmptyDbg(pszDirName, ulSleep, __FILE__, __LINE__)
36VOID WaitFleshWorkListEmptyDbg(PCSZ pszDirName, ULONG ulSleep, PCSZ pszSrcFile, UINT uSrcLineNo);
37#endif
38
39#if 0 // 2015-08-03 SHL FIXME debug
40BOOL AddFleshWorkRequest(HWND hwndCnr, PCNRITEM pci, FLESHWORKACTION action);
41#else
42#define AddFleshWorkRequest(hwnCnr, pciParent, action) AddFleshWorkRequestDbg(hwnCnr, pciParent, action, __FILE__, __LINE__)
43BOOL AddFleshWorkRequestDbg(HWND hwndCnr, PCNRITEM pci, FLESHWORKACTION action, PCSZ pszSrcFile, UINT uSrcLineNo);
44#endif
45
46// Data declarations
47extern ULONG NoBrokenNotify;
48extern BOOL fFilesInTree;
49
50
51#endif // FLESH_H
Note: See TracBrowser for help on using the repository browser.