]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/performancedb.hxx
Fix crashes (activating the route-manager) with a default GPS.
[flightgear.git] / src / AIModel / performancedb.hxx
index 4e397ac27d59dc7bdf16b9082a8b226450975fa5..61d040da0ec2d969599e84d7912c6528aa0ca888 100644 (file)
@@ -2,6 +2,7 @@
 #define PERFORMANCEDB_HXX
 
 #include <string>
+#include <vector>
 #include <map>
 
 #include "performancedata.hxx"
@@ -12,7 +13,7 @@
  * Allows to store performance data for later reuse/retrieval. Just
  * a simple map for now.
  * 
- * @author Thomas Förster <t.foerster@biologie.hu-berlin.de>
+ * @author Thomas Frster <t.foerster@biologie.hu-berlin.de>
 */
 //TODO provide std::map interface?
 class PerformanceDB
@@ -25,6 +26,7 @@ public:
     void registerPerformanceData(const std::string& id, const std::string& filename);
 
     PerformanceData* getDataFor(const std::string& id);
+    void load(SGPath path);
 
 private:
     std::map<std::string, PerformanceData*> _db;