You cannot 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
942 B
C++
40 lines
942 B
C++
//////////////////////////////////////////////////////////////////////////////
|
|
//Îļþ ActionLayerAddItem.h
|
|
//Ö÷Òª¹¦ÄÜ:
|
|
//
|
|
//³ÌÐò±àд: 2006-12-07
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#pragma once
|
|
#include ".\actiondeletelayeritem.h"
|
|
|
|
namespace NAction
|
|
{
|
|
|
|
class CActionLayerAddItem :
|
|
public CActionLayerDeleteItem
|
|
{
|
|
public:
|
|
CActionLayerAddItem();
|
|
CActionLayerAddItem(CSigmaDoc * ppDoc, CLayer* pAddedLayer, const CString curLayerName="");
|
|
//CActionLayerAddItem(CDocument* ppDoc, UINT actionType, CPtrList& addedLayerList, const CString curLayerName="");
|
|
virtual ~CActionLayerAddItem(void);
|
|
|
|
std::string GetActionName() const override
|
|
{
|
|
return typeid(*this).name();
|
|
}
|
|
|
|
virtual void Undo(void);
|
|
virtual void Redo(void);
|
|
virtual void Finish();
|
|
|
|
void accept(CActionVisitor& visitor) override;
|
|
|
|
friend class BlobSerializer;
|
|
protected:
|
|
//CStringList addList;
|
|
CString m_curLayerName;
|
|
};
|
|
};
|