X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNetwork%2Fprops.hxx;h=9e7405583ee3480df5d59338a06db61c1bfbb0fa;hb=b0dcb657e77579ecc79798ff365737095f96f9e2;hp=bb661aed1e35676717f34efff8c1d83c99e2e26d;hpb=667e64e1ebc86a0c53112b92b53475898f315c36;p=flightgear.git diff --git a/src/Network/props.hxx b/src/Network/props.hxx index bb661aed1..9e7405583 100644 --- a/src/Network/props.hxx +++ b/src/Network/props.hxx @@ -30,10 +30,7 @@ #include #include -using std::string; -using std::vector; - -#include +#include #include "protocol.hxx" @@ -43,7 +40,8 @@ using std::vector; * FlightGear properties. */ class FGProps : public FGProtocol, - public netChannel + public simgear::NetChannel, + public SGPropertyChangeListener // for subscriptions { private: @@ -51,14 +49,14 @@ private: * Server port to listen on. */ int port; - + simgear::NetChannelPoller poller; public: /** * Create a new TCP server. * * @param tokens Tokenized configuration parameters */ - FGProps( const vector& tokens ); + FGProps( const std::vector& tokens ); /** * Destructor.