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.
22 lines
483 B
C++
22 lines
483 B
C++
#pragma once
|
|
#include "commandbase.h"
|
|
#include "SStringPar.h"
|
|
|
|
//修改合成对象
|
|
class CCommandModifiString :public CCommandBase
|
|
{
|
|
public:
|
|
CCommandModifiString();
|
|
~CCommandModifiString(void);
|
|
virtual CString GetStr(){return "修改string";};
|
|
virtual void ExcuteExt();
|
|
virtual void UndoExt();
|
|
void SetStringPar(SStringPar &par,bool b);
|
|
private:
|
|
void ReCreatObj(bool bExcute);
|
|
private:
|
|
SStringPar m_OldStringPar;
|
|
SStringPar m_NewStringPar;
|
|
};
|
|
|