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.

40 lines
1.2 KiB

  1. /*--------------------------------------------------------------------------*
  2. *
  3. * Microsoft Windows
  4. * Copyright (C) Microsoft Corporation, 1992 - 000
  5. *
  6. * File: xmlimage.h
  7. *
  8. * Contents: Interface file for CXMLImageList
  9. *
  10. * History: 10-Aug-2000 jeffro Created
  11. *
  12. *--------------------------------------------------------------------------*/
  13. #pragma once
  14. #include "xmlbase.h" // for CXMLObject
  15. #include "atlbase.h" // for CComModule
  16. #include "atlapp.h" // required by atlctrls.h
  17. extern CComModule _Module; // required by atlwin.h
  18. #include "atlwin.h" // required by atlctrls.h
  19. #include "atlctrls.h" // for WTL::CImageList
  20. #include "strings.h" // for XML_TAG_VALUE_BIN_DATA
  21. /*+-------------------------------------------------------------------------*
  22. * class CXMLImageList
  23. *
  24. * This class adds XML persistence to WTL::CImageLists.
  25. *--------------------------------------------------------------------------*/
  26. class CXMLImageList :
  27. public CXMLObject,
  28. public WTL::CImageList
  29. {
  30. public:
  31. // CXMLObject methods
  32. virtual void Persist(CPersistor &persistor);
  33. virtual bool UsesBinaryStorage() { return (true); }
  34. DEFINE_XML_TYPE(XML_TAG_VALUE_BIN_DATA);
  35. };