X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fmoof%2Fscript.hh;fp=src%2Fmoof%2Fscript.hh;h=85973dd0402f1823434ced4b2da57305b046146d;hp=0000000000000000000000000000000000000000;hb=831f04d4bc19a390415ac0bbac4331c7a65509bc;hpb=299af4f2047e767e5d79501c26444473bda64c64 diff --git a/src/moof/script.hh b/src/moof/script.hh new file mode 100644 index 0000000..85973dd --- /dev/null +++ b/src/moof/script.hh @@ -0,0 +1,1063 @@ + +/*] Copyright (c) 2009-2010, Charles McGarvey [************************** +**] All rights reserved. +* +* vi:ts=4 sw=4 tw=75 +* +* Distributable under the terms and conditions of the 2-clause BSD license; +* see the file COPYING for a complete text of the license. +* +**************************************************************************/ + +#ifndef _MOOF_SCRIPT_HH_ +#define _MOOF_SCRIPT_HH_ + +/** + * \file script.hh + * A thin wrapper over Lua. This is not meant as a complicated binding + * package between C++ and Lua. It is not meant to obscure the division + * between C++ and Lua but rather to clarify it and make it more + * manageable. It does not hide the concept of the Lua stack, but rather + * provides that mechanism with a certain level of abstraction while also + * providing a cleaner, more consistent API. + */ + +#include +#include +#include +#include +#include + +#include +#include +#include +#include + + +namespace moof { + + +class script; +typedef boost::shared_ptr