diff options
-rw-r--r-- | include/LuaTask.h | 4 | ||||
-rw-r--r-- | include/SocketClient.h | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/include/LuaTask.h b/include/LuaTask.h index fa799c0..221646f 100644 --- a/include/LuaTask.h +++ b/include/LuaTask.h @@ -17,11 +17,12 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: LuaTask.h,v 1.5 2007-05-30 11:57:08 pixel Exp $ */ +/* $Id: LuaTask.h,v 1.6 2007-12-20 17:06:29 pixel Exp $ */ #ifndef __LUATASK_H__ #define __LUATASK_H__ +#include <vector> #include <hashtab.h> #include <Task.h> @@ -38,6 +39,7 @@ class LuaTask : public Task { protected: virtual int Do() throw (GeneralException); private: + std::vector<String> array_to_vector(int index) throw (GeneralException); LuaTask * gettop(); void settop(LuaTask *); Lua * L; diff --git a/include/SocketClient.h b/include/SocketClient.h index 9078517..6f0d279 100644 --- a/include/SocketClient.h +++ b/include/SocketClient.h @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: SocketClient.h,v 1.1 2007-10-12 13:07:42 pixel Exp $ */ +/* $Id: SocketClient.h,v 1.2 2007-12-20 17:06:30 pixel Exp $ */ #ifndef __SOCKETCLIENT_H__ #define __SOCKETCLIENT_H__ @@ -42,6 +42,7 @@ class SocketClient : public Task { protected: SocketClient(const String & host, int port, timeval timeout = default_socket_timeout ); void subDo() throw (GeneralException); + void WaitTimeout(); void SetStatus(const String &); Task * c; |