CODScriptLangCommand Class

class CODScriptLangCommand: public CODCommand

Sets the scripting language.

Defined in: OdScriptLangCmd.h

Class Members

CODScriptLangCommand(CODModel* pModel)

Constructor.

virtual ~CODScriptLangCommand()

Destructor.

virtual BOOL Execute()

Changes the scripting language

virtual BOOL Unexecute()

Restores the previous scripting language

virtual sfl::MvcCommand* Dup() const

Make a copy of this language change command.

inline virtual void SetLanguage(DWORD dwLang)

Changes the scripting language

virtual void Sprint(CString& strCmd)

Print information on the command for logging purposes.