X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNetwork%2Fprops.hxx;h=9e7405583ee3480df5d59338a06db61c1bfbb0fa;hb=b0dcb657e77579ecc79798ff365737095f96f9e2;hp=01cb6ae8eae1ed935e7da9c33e54ad3eeea500b6;hpb=d05121ef4689d2b50b3fe1848cbb0d1f5a1db877;p=flightgear.git diff --git a/src/Network/props.hxx b/src/Network/props.hxx index 01cb6ae8e..9e7405583 100644 --- a/src/Network/props.hxx +++ b/src/Network/props.hxx @@ -18,7 +18,7 @@ // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software -// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // // $Id$ @@ -27,13 +27,10 @@ #define _FG_PROPS_HXX #include -#include STL_STRING +#include #include -SG_USING_STD(string); -SG_USING_STD(vector); - -#include +#include #include "protocol.hxx" @@ -43,7 +40,8 @@ SG_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.