00001
00002
00003
00004
00005
00006
00007
00008 #include "config.h"
00009
00010 #ifndef LUAAPPLICATION_H_
00011 #define LUAAPPLICATION_H_
00012
00013 #ifdef HAVE_LIBLUA5_1
00014
00015 #include "utils/Luna.h"
00016
00017 namespace dtn
00018 {
00019 namespace lua
00020 {
00021 class LuaApplication
00022 {
00023 public:
00024 LuaApplication(lua_State *L);
00025 ~LuaApplication();
00026
00027 int setUser(lua_State *L);
00028 int setGroup(lua_State *L);
00029
00030 static const char className[];
00031 static const Luna<LuaApplication>::RegType Register[];
00032 };
00033 }
00034 }
00035
00036 #endif
00037
00038 #endif