X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAIModel%2Fperformancedb.hxx;h=61d040da0ec2d969599e84d7912c6528aa0ca888;hb=ae50c054a9007b98f1a8dafe6d589d0b4cab8873;hp=4e397ac27d59dc7bdf16b9082a8b226450975fa5;hpb=1613d7e63e02ccad8ebdfaaf8359ab34e0b88e7a;p=flightgear.git diff --git a/src/AIModel/performancedb.hxx b/src/AIModel/performancedb.hxx index 4e397ac27..61d040da0 100644 --- a/src/AIModel/performancedb.hxx +++ b/src/AIModel/performancedb.hxx @@ -2,6 +2,7 @@ #define PERFORMANCEDB_HXX #include +#include #include #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 + * @author Thomas F�rster */ //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 _db;