summaryrefslogtreecommitdiff
path: root/src/network.h
diff options
context:
space:
mode:
authordeva <deva>2005-03-29 20:07:22 +0000
committerdeva <deva>2005-03-29 20:07:22 +0000
commit789ed99ffdeae638e9191ca99272e536f36f6934 (patch)
tree29c884d1a6838cbdfc46feb6fb81da7a003f5eec /src/network.h
parent8baab8060621a4d219b84b14677990047ff0bf26 (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.h4
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;
};