+
+class FGNasalListener : public SGPropertyChangeListener {
+public:
+ FGNasalListener(SGPropertyNode_ptr node, naRef handler,
+ FGNasalSys* nasal, int key);
+
+ ~FGNasalListener();
+ void valueChanged(SGPropertyNode* node);
+
+private:
+ friend class FGNasalSys;
+ SGPropertyNode_ptr _node;
+ naRef _handler;
+ int _gcKey;
+ FGNasalSys* _nas;
+ bool _active;
+};
+
+
+class FGNasalModelData : public SGModelData {
+public:
+ FGNasalModelData() : _unload(0) {}
+ ~FGNasalModelData();
+ void modelLoaded(const string& path, SGPropertyNode *prop, ssgBranch *);
+
+private:
+ string _module;
+ SGConstPropertyNode_ptr _unload;
+};
+