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.
33 lines
649 B
C++
33 lines
649 B
C++
#pragma once
|
|
#include ".\actiondeleteitem.h"
|
|
|
|
namespace NAction
|
|
{
|
|
class CActionLayerDeleteItem : public CActionDeleteItem
|
|
{
|
|
public:
|
|
CActionLayerDeleteItem();
|
|
CActionLayerDeleteItem(CSigmaDoc * ppDoc, CLayer* pLayer);
|
|
CActionLayerDeleteItem(CSigmaDoc * ppDoc, const CPositionList& ElementList, CPtrList& cLayerList);
|
|
virtual ~CActionLayerDeleteItem(void);
|
|
|
|
std::string GetActionName() const override
|
|
{
|
|
return typeid(*this).name();
|
|
}
|
|
|
|
virtual void Undo(void);
|
|
virtual void Redo(void);
|
|
|
|
void accept(CActionVisitor& visitor) override;
|
|
|
|
friend class BlobSerializer;
|
|
|
|
protected:
|
|
CPtrList LayerList;
|
|
public:
|
|
virtual void Clear(void);
|
|
};
|
|
|
|
};
|