X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNetwork%2Fjpg-httpd.hxx;h=95568c054161d1fdd981783768076c675a05fbe6;hb=b0dcb657e77579ecc79798ff365737095f96f9e2;hp=ce6e78acbbbd258fbfc0d50cdd5a349ccf342622;hpb=e8fc85ef7e692cf3c71bf30878b7599169432a42;p=flightgear.git diff --git a/src/Network/jpg-httpd.hxx b/src/Network/jpg-httpd.hxx index ce6e78acb..95568c054 100644 --- a/src/Network/jpg-httpd.hxx +++ b/src/Network/jpg-httpd.hxx @@ -26,17 +26,20 @@ #ifndef _FG_JPEG_HTTPD_HXX #define _FG_JPEG_HTTPD_HXX +#include // for auto_ptr +#include + #include "protocol.hxx" -class HttpdImageServer; +// forward decls +class HttpdThread; class FGJpegHttpd : public FGProtocol { - int port; - HttpdImageServer *imageServer; + std::auto_ptr _imageServer; public: - FGJpegHttpd( int p ); + FGJpegHttpd( int p, int hz, const std::string& type ); ~FGJpegHttpd(); bool open();