diff options
author | deva <deva> | 2005-03-29 20:07:22 +0000 |
---|---|---|
committer | deva <deva> | 2005-03-29 20:07:22 +0000 |
commit | 789ed99ffdeae638e9191ca99272e536f36f6934 (patch) | |
tree | 29c884d1a6838cbdfc46feb6fb81da7a003f5eec /src/network.h | |
parent | 8baab8060621a4d219b84b14677990047ff0bf26 (diff) |
Added a lot of error detection stuff to the camera, player, encoder and decoder objects.
Diffstat (limited to 'src/network.h')
-rw-r--r-- | src/network.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/network.h b/src/network.h index 72d5826..d1f68c0 100644 --- a/src/network.h +++ b/src/network.h @@ -29,10 +29,11 @@ #include "socket.h" #include "package.h" +#include "error.h" class Network { public: - Network(Socket *gs); + Network(Socket *gs, Error* err = NULL); ~Network(); // Raw communication @@ -44,6 +45,7 @@ public: int recvPackage(n_header *h, void* buf, int bufsz); private: + Error *error; Socket *s; }; |