]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/kt_70.hxx
PerformanceDB improvements.
[flightgear.git] / src / Instrumentation / kt_70.hxx
index 3f0456f1add1572594739237fc50944edad7e6e2..1316e243a857483ee5ef519025dcd0316745ea8b 100644 (file)
@@ -16,7 +16,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$
 
@@ -29,6 +29,7 @@
 
 #include <simgear/compiler.h>
 #include <simgear/structure/subsystem_mgr.hxx>
+#include <simgear/props/tiedpropertylist.hxx>
 #include <simgear/math/interpolater.hxx>
 #include <simgear/timing/timestamp.hxx>
 
 
 class FGKT_70 : public SGSubsystem
 {
-    SGPropertyNode *lon_node;
-    SGPropertyNode *lat_node;
-    SGPropertyNode *alt_node;
-    SGPropertyNode *bus_power;
-    SGPropertyNode *serviceable_node;
+private:
+    SGPropertyNode_ptr lon_node;
+    SGPropertyNode_ptr lat_node;
+    SGPropertyNode_ptr alt_node;
+    SGPropertyNode_ptr bus_power;
+    SGPropertyNode_ptr serviceable_node;
 
     // internal values
     double r_flash_time;
@@ -72,6 +74,7 @@ class FGKT_70 : public SGSubsystem
 
     string name;
     int num;
+    simgear::TiedPropertyList _tiedProperties;
 
 public: