source: trunk/dll/flesh.h@ 1858

Last change on this file since 1858 was 1858, checked in by Steven Levine, 10 years ago

Rework FlestWaitForWorkListEmpty to support wait for parents of path
Clean up some obsolete code

  • Property svn:eolstyle set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1
2/***********************************************************************
3
4 $Id: flesh.h 1858 2015-08-20 05:31:14Z stevenhl $
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
14***********************************************************************/
15
16#if !defined(FLESH_H)
17#define FLESH_H
18
19BOOL StartFleshWorkThread(VOID);
20
21typedef enum {eStubby, eFlesh, eFleshEnv, eUnFlesh, eFillDir} FLESHWORKACTION;
22
23BOOL IsFleshWorkListEmpty();
24
25VOID SetFleshFocusDrive(CHAR chDriveLetter);
26
27#if 0 // 2015-08-03 SHL FIXME debug
28VOID WaitFleshWorkListEmpty();
29#else
30#define WaitFleshWorkListEmpty(pszFileName) WaitFleshWorkListEmptyDbg(pszFileName, __FILE__, __LINE__)
31VOID WaitFleshWorkListEmptyDbg(PCSZ pszFileName, PCSZ pszSrcFile, UINT uSrcLineNo);
32#endif
33
34#if 0 // 2015-08-03 SHL FIXME debug
35BOOL AddFleshWorkRequest(HWND hwndCnr, PCNRITEM pci, FLESHWORKACTION action);
36#else
37#define AddFleshWorkRequest(hwnCnr, pciParent, action) AddFleshWorkRequestDbg(hwnCnr, pciParent, action, __FILE__, __LINE__)
38BOOL AddFleshWorkRequestDbg(HWND hwndCnr, PCNRITEM pci, FLESHWORKACTION action, PCSZ pszSrcFile, UINT uSrcLineNo);
39#endif
40
41// Data declarations
42extern ULONG NoBrokenNotify;
43extern BOOL fFilesInTree;
44
45
46#endif // FLESH_H
Note: See TracBrowser for help on using the repository browser.