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.

55 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) 2000 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. SMARTTYPEDEF(CPendingAssembly);
  27. CDequeLinkage m_Linkage;
  28. protected:
  29. PASSEMBLY m_SourceAssembly;
  30. PASSEMBLY_IDENTITY m_Identity;
  31. bool m_Optional;
  32. bool m_MetadataSatellite;
  33. private:
  34. CPendingAssembly(const CPendingAssembly &);
  35. void operator =(const CPendingAssembly &);
  36. };
  37. SMARTTYPE(CPendingAssembly);
  38. #endif