mirror of https://github.com/tongzx/nt5src
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
40 lines
1.2 KiB
/*--------------------------------------------------------------------------*
|
|
*
|
|
* Microsoft Windows
|
|
* Copyright (C) Microsoft Corporation, 1992 - 000
|
|
*
|
|
* File: xmlimage.h
|
|
*
|
|
* Contents: Interface file for CXMLImageList
|
|
*
|
|
* History: 10-Aug-2000 jeffro Created
|
|
*
|
|
*--------------------------------------------------------------------------*/
|
|
|
|
#pragma once
|
|
|
|
|
|
#include "xmlbase.h" // for CXMLObject
|
|
#include "atlbase.h" // for CComModule
|
|
#include "atlapp.h" // required by atlctrls.h
|
|
extern CComModule _Module; // required by atlwin.h
|
|
#include "atlwin.h" // required by atlctrls.h
|
|
#include "atlctrls.h" // for WTL::CImageList
|
|
#include "strings.h" // for XML_TAG_VALUE_BIN_DATA
|
|
|
|
/*+-------------------------------------------------------------------------*
|
|
* class CXMLImageList
|
|
*
|
|
* This class adds XML persistence to WTL::CImageLists.
|
|
*--------------------------------------------------------------------------*/
|
|
|
|
class CXMLImageList :
|
|
public CXMLObject,
|
|
public WTL::CImageList
|
|
{
|
|
public:
|
|
// CXMLObject methods
|
|
virtual void Persist(CPersistor &persistor);
|
|
virtual bool UsesBinaryStorage() { return (true); }
|
|
DEFINE_XML_TYPE(XML_TAG_VALUE_BIN_DATA);
|
|
};
|