summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorpixel <pixel>2007-04-12 18:39:56 +0000
committerpixel <pixel>2007-04-12 18:39:56 +0000
commitc2433dca755bdd9e32225448df622bbfa0493a35 (patch)
treeaddcf90d9e0f19febe187126f89f648cbdfd6722 /include
parent2f0a0fa3d536f0b820537f130111acb195d6f46d (diff)
Introducing LuaSQL.
Diffstat (limited to 'include')
-rw-r--r--include/LuaSQL.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/LuaSQL.h b/include/LuaSQL.h
new file mode 100644
index 0000000..bec0260
--- /dev/null
+++ b/include/LuaSQL.h
@@ -0,0 +1,17 @@
+#ifndef __LUASQL_H__
+#define __LUASQL_H__
+
+#include <Exceptions.h>
+#include <SQL.h>
+#include <BLua.h>
+
+class LuaSQLConnection : public LuaObject {
+ public:
+ static void pushstatics(Lua *) throw (GeneralException);
+ LuaSQLConnection(SQLConnection *);
+ protected:
+ virtual void pushmembers(Lua *);
+ SQLConnection * c;
+};
+
+#endif