1 #ifndef HEADER_SCRIPTCMD_H
2 #define HEADER_SCRIPTCMD_H
3 
4 class ScriptState;
5 
6 #include "NoCopy.h"
7 #include "Command.h"
8 
9 /**
10  * Command which execute script function.
11  */
12 class ScriptCmd : public Command, public NoCopy {
13     private:
14         int m_funcRef;
15         ScriptState *m_script;
16     public:
17         ScriptCmd(ScriptState *script, int funcRef);
18         virtual ~ScriptCmd();
19 
20         virtual bool finish(int count);
21 };
22 
23 #endif
24