00001 #ifndef HEADER_SCRIPTCMD_H 00002 #define HEADER_SCRIPTCMD_H 00003 00004 class ScriptState; 00005 00006 #include "NoCopy.h" 00007 #include "Command.h" 00008 00009 /** 00010 * Command which execute script function. 00011 */ 00012 class ScriptCmd : public Command, public NoCopy { 00013 private: 00014 int m_funcRef; 00015 ScriptState *m_script; 00016 public: 00017 ScriptCmd(ScriptState *script, int funcRef); 00018 virtual ~ScriptCmd(); 00019 00020 virtual bool finish(int count); 00021 }; 00022 00023 #endif