/* ----------------------------------------------------------------------------- GSFramework Copyright 2001-2013 Emmanuel Julien. All Rights Reserved. ----------------------------------------------------------------------------- */ #ifndef __PROJECTSCRIPTUNIT__ #define __PROJECTSCRIPTUNIT__ #include "script/script_unit.h" #include "script/script_object.h" #include "memory/nauto_ptr.h" namespace GS { namespace Core { /*! @short Project script unit. @author Emmanuel Julien (ejulien@gsworks.fr) */ struct ProjectScriptUnit : public GS::Script::Unit { AutoPtr setup_callback, update_callback; bool Open(); void Close(); ProjectScriptUnit(Script::IVM *); ~ProjectScriptUnit(); }; } // Core } // GS #endif // __PROJECTSCRIPTUNIT__