]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/props.hxx
Fix for bug 1304 - crash loading XML route
[flightgear.git] / src / Network / props.hxx
index e55f7c1330c38783ba8ec62c70bc934298a9a071..9e7405583ee3480df5d59338a06db61c1bfbb0fa 100644 (file)
@@ -40,7 +40,8 @@
  * FlightGear properties.
  */
 class FGProps : public FGProtocol,
-               public simgear::NetChannel
+               public simgear::NetChannel,
+               public SGPropertyChangeListener // for subscriptions
 {
 private:
 
@@ -48,7 +49,7 @@ private:
      * Server port to listen on.
      */
     int port;
-
+    simgear::NetChannelPoller poller;
 public:
     /**
      * Create a new TCP server.