X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNetwork%2Fjpg-httpd.hxx;h=e4fde9e9b9a835a026fd04446b32db7c69326d85;hb=dc76290d6e7d2f24d6c352d8f9da4b0f9f1e5f40;hp=4e143a28fedc4f965daf925bd829c78c23c2b0ca;hpb=240feb69610ee838a3e29e58eeaedad4653f410e;p=flightgear.git diff --git a/src/Network/jpg-httpd.hxx b/src/Network/jpg-httpd.hxx index 4e143a28f..e4fde9e9b 100644 --- a/src/Network/jpg-httpd.hxx +++ b/src/Network/jpg-httpd.hxx @@ -32,7 +32,7 @@ # include #endif -#include +#include #ifdef FG_JPEG_SERVER # include @@ -44,6 +44,7 @@ public: void init(int, int); void destroy(); int render(); + void setFrustum(double,double,double,double,double,double); void *data(); }; #endif @@ -56,10 +57,10 @@ class trJpgFactory; /* simple httpd server that makes an hasty stab at following the http 1.1 rfc. */ -class HttpdImageChannel : public netChat +class HttpdImageChannel : public simgear::NetChat { - netBuffer buffer ; + simgear::NetBuffer buffer ; trJpgFactory *JpgFactory; public: @@ -88,12 +89,12 @@ public: }; -class HttpdImageServer : private netChannel +class HttpdImageServer : private simgear::NetChannel { virtual bool writable (void) { return false ; } virtual void handleAccept (void) { - netAddress addr ; + simgear::IPAddress addr ; int handle = accept ( &addr ) ; SG_LOG( SG_IO, SG_INFO, "Client " << addr.getHost() << ":" << addr.getPort() << " connected" );