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.

45 lines
741 B

  1. /*++
  2. Copyright (C) 1996-2001 Microsoft Corporation
  3. Module Name:
  4. METADATA.H
  5. Abstract:
  6. History:
  7. --*/
  8. #include <windows.h>
  9. #include <objbase.h>
  10. #include <providl.h>
  11. #include <parmdefs.h>
  12. typedef enum
  13. {
  14. SEPARATE_BRANCHES, FIRST_IS_PARENT, SECOND_IS_PARENT
  15. } HMM_CLASS_RELATION;
  16. class CMetaData
  17. {
  18. protected:
  19. IHmmServices* m_pNamespace;
  20. public:
  21. CMetaData(IHmmServices* pNamespace)
  22. {
  23. pNamespace->AddRef();
  24. m_pNamespace = pNamespace;
  25. }
  26. ~CMetaData()
  27. {
  28. m_pNamespace->Release();
  29. }
  30. HMM_CLASS_RELATION GetClassRelation(LPCWSTR wszClass1, LPCWSTR wszClass2);
  31. RELEASE_ME IHmmClassObject* ConvertSource(IHmmPropertySource* pSource,
  32. IHmmPropertyList* pList = NULL);
  33. };