#ifndef __BLUA_H__ #define __BLUA_H__ #include #include #include #include class Lua : public Base { public: Lua(); Lua(const Lua &) throw (GeneralException); virtual ~Lua(); void push(); void push(double); void push(const String &); void push(bool); void push(void *); void push(lua_CFunction, int = 0); void load(Handle *) throw (GeneralException) ; Lua * thread(); static Lua * find(lua_State *); private: Lua(lua_State *); lua_State * L; static std::map lualist; }; #endif