2 Copyright (c) 2006 Paolo Capriotti <p.capriotti@gmail.com>
3 (c) 2006 Maurizio Monge <maurizio.monge@kdemail.net>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
11 #ifndef LUAAPI__LUAVALUE_H
12 #define LUAAPI__LUAVALUE_H
14 #include <boost/variant.hpp>
24 typedef boost::variant
<double, QPointF
, QRectF
> LuaValue
;
25 typedef QMap
<QString
, LuaValue
> LuaValueMap
;
26 void lua_pushvalue(lua_State
* l
, const LuaValue
& value
);
27 void lua_pushvaluemap(lua_State
* l
, const LuaValueMap
* valuemap
);
29 } //end namespace LuaApi
31 #endif //LUAAPI__LUAVALUE_H