source: trunk/dll/flesh.h@ 1874

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

DosSleep times in WaitFleshWorkListEmpty set by caller; TOPDIR code calls WaitFleshWorkListEmpty before ShowCnrRecord and now actually exists for directory containers in tree view. These calls are made from the object windows.

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