X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNavaids%2FNavDataCache.hxx;h=4975b0954fa89d5f96c0ce7ce0689e3989e7ad8b;hb=c3c0f68f76c031adcf610fdd3dbeee59bc33d553;hp=31616769301fd2d79f4e0e45a95bcb0ff17d3bf0;hpb=08bae4099129a047fd9081e71d06e7130feb3115;p=flightgear.git diff --git a/src/Navaids/NavDataCache.hxx b/src/Navaids/NavDataCache.hxx index 316167693..4975b0954 100644 --- a/src/Navaids/NavDataCache.hxx +++ b/src/Navaids/NavDataCache.hxx @@ -122,7 +122,7 @@ public: PositionedID createPOI(FGPositioned::Type ty, const std::string& ident, const SGGeod& aPos); - void removePOI(FGPositioned::Type ty, const std::string& aIdent); + bool removePOI(FGPositioned::Type ty, const std::string& aIdent); void dropGroundnetFor(PositionedID aAirport); @@ -267,6 +267,8 @@ public: NavDataCache* _instance; bool _committed; }; + + bool isReadOnly() const; private: NavDataCache();