Leaked source code of windows server 2003
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.

51 lines
1.2 KiB

  1. #if !defined(_FUSION_SXS_PENDINGASSEMBLY_H_INCLUDED_)
  2. #define _FUSION_SXS_PENDINGASSEMBLY_H_INCLUDED_
  3. #pragma once
  4. /*++
  5. Copyright (c) Microsoft Corporation
  6. Module Name:
  7. pendingassembly.h
  8. Abstract:
  9. Sources for the CPendingAssembly class
  10. Author:
  11. Michael J. Grier (MGrier) 23-Feb-2000
  12. Revision History:
  13. xiaoyuw 09/2000 replace attributes with assembly identity
  14. --*/
  15. class CPendingAssembly
  16. {
  17. public:
  18. CPendingAssembly();
  19. ~CPendingAssembly();
  20. BOOL Initialize(PASSEMBLY SourceAssembly, PCASSEMBLY_IDENTITY Identity, bool Optional, bool IsMetadataSatellite);
  21. PASSEMBLY SourceAssembly() const { return m_SourceAssembly; }
  22. PCASSEMBLY_IDENTITY GetIdentity() const { return m_Identity; }
  23. bool IsOptional() const { return m_Optional; }
  24. bool IsMetadataSatellite() const { return m_MetadataSatellite; }
  25. void DeleteYourself() { delete this; }
  26. CDequeLinkage m_Linkage;
  27. protected:
  28. PASSEMBLY m_SourceAssembly;
  29. PASSEMBLY_IDENTITY m_Identity;
  30. bool m_Optional;
  31. bool m_MetadataSatellite;
  32. private:
  33. CPendingAssembly(const CPendingAssembly &);
  34. void operator =(const CPendingAssembly &);
  35. };
  36. #endif