]> git.mxchange.org Git - flightgear.git/blobdiff - src/Scripting/NasalSys.hxx
Refactor FG_HOME init, so we can log sooner.
[flightgear.git] / src / Scripting / NasalSys.hxx
index 18ef05314c115682d63b68d3daefbe437c10809a..83efde6e427ab94204736701714eb95c5e5ab548 100644 (file)
@@ -14,7 +14,7 @@
 
 class FGNasalScript;
 class FGNasalListener;
-
+class SGCondition;
 
 /** Nasal model data container.
  * load and unload methods must be run in main thread (not thread-safe). */
@@ -65,6 +65,9 @@ protected:
     SGSharedPtr<FGNasalModelData> _data;
 };
 
+SGPropertyNode* ghostToPropNode(naRef ref);
+SGCondition* conditionGhost(naRef r);
+
 class FGNasalSys : public SGSubsystem
 {
 public:
@@ -129,7 +132,7 @@ public:
     naRef callMethod(naRef code, naRef self, int argc, naRef* args, naRef locals);
   
     naRef propNodeGhost(SGPropertyNode* handle);
-
+  
     void registerToLoad(FGNasalModelData* data)   { _loadList.push(data);}
     void registerToUnload(FGNasalModelData* data) { _unloadList.push(data);}
 
@@ -183,7 +186,8 @@ private:
     naRef genPropsModule();
 
     naContext _context;
-    naRef _globals;
+    naRef _globals,
+          _string;
 
     SGPropertyNode_ptr _cmdArg;