Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
738 B

  1. // File.h: interface for the File class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_FILE_H__708EE68D_A6EE_453B_AA09_C93CB05A626A__INCLUDED_)
  5. #define AFX_FILE_H__708EE68D_A6EE_453B_AA09_C93CB05A626A__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #include <windows.h>
  10. #include "Object.h"
  11. #include "List.h"
  12. #include "StringNode.h"
  13. class File : public Object
  14. {
  15. public:
  16. TCHAR* fileName;
  17. List* owners;
  18. List* dependencies;
  19. HANDLE hFile;
  20. File(TCHAR * f);
  21. virtual ~File();
  22. void AddDependant(StringNode * s);
  23. TCHAR* Data();
  24. virtual void CheckDependencies();
  25. void CloseFile();
  26. };
  27. #endif // !defined(AFX_FILE_H__708EE68D_A6EE_453B_AA09_C93CB05A626A__INCLUDED_)