first commit
This commit is contained in:
38
include/engine/project/project_script_unit.h
Normal file
38
include/engine/project/project_script_unit.h
Normal file
@ -0,0 +1,38 @@
|
||||
/* -----------------------------------------------------------------------------
|
||||
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 <Script::Object> setup_callback, update_callback;
|
||||
|
||||
bool Open();
|
||||
void Close();
|
||||
|
||||
ProjectScriptUnit(Script::IVM *);
|
||||
~ProjectScriptUnit();
|
||||
};
|
||||
|
||||
} // Core
|
||||
} // GS
|
||||
|
||||
|
||||
#endif // __PROJECTSCRIPTUNIT__
|
||||
Reference in New Issue
Block a user