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.
28 lines
552 B
C++
28 lines
552 B
C++
#pragma once
|
|
#include "ActionItem.h"
|
|
namespace NAction
|
|
{
|
|
|
|
class CActionLayerRenameItem :
|
|
public CActionItem
|
|
{
|
|
public:
|
|
CActionLayerRenameItem();
|
|
CActionLayerRenameItem(CSigmaDoc* ppDoc, const CString strSourceLayerName, const CString strNewLayerName);
|
|
virtual ~CActionLayerRenameItem(void);
|
|
|
|
std::string GetActionName() const override
|
|
{
|
|
return typeid(*this).name();
|
|
}
|
|
|
|
virtual void Undo(void);
|
|
virtual void Redo(void);
|
|
|
|
void accept(CActionVisitor& visitor) override;
|
|
|
|
CString m_strSourceLayerName, m_strNewLayerName;
|
|
};
|
|
|
|
};
|