]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/fgfs.hxx
Moved random ground cover object management code (userdata.[ch]xx) over
[flightgear.git] / src / Main / fgfs.hxx
index 08a335a6267d9feeaa888581c9baca4a38d65eab..bc435893121212964b0742d56877fe6b2de7818d 100644 (file)
@@ -49,7 +49,7 @@ SG_USING_STD(vector);
 #include <map>
 SG_USING_STD(map);
 
-#include <simgear/misc/props.hxx>
+#include <simgear/props/props.hxx>
 
 
 \f
@@ -70,13 +70,13 @@ SG_USING_STD(map);
  * <pre>
  * void MySubsystem::bind ()
  * {
- *   fgTie("/controls/elevator", &_elevator);
- *   fgSetArchivable("/controls/elevator");
+ *   fgTie("/controls/flight/elevator", &_elevator);
+ *   fgSetArchivable("/controls/flight/elevator");
  * }
  *
  * void MySubsystem::unbind ()
  * {
- *   fgUntie("/controls/elevator");
+ *   fgUntie("/controls/flight/elevator");
  * }
  * </pre>
  *
@@ -332,8 +332,9 @@ public:
     virtual void resume ();
     virtual bool is_suspended () const;
 
-    virtual void add (GroupType group, const string &name,
+    virtual void add (const char * name,
                       FGSubsystem * subsystem,
+                      GroupType group = GENERAL, 
                       double min_time_sec = 0);
 
     virtual FGSubsystemGroup * get_group (GroupType group);