]> git.mxchange.org Git - simgear.git/blobdiff - simgear/package/Package.hxx
Package::existingInstall helper.
[simgear.git] / simgear / package / Package.hxx
index 7346500e72b58f811e682423a2c1a276c2b7e0fe..43934ddf14af4784e67b2967843a790818fabe64 100644 (file)
@@ -53,7 +53,9 @@ public:
      * get or create an install for the package
      */
     InstallRef install();
-    
+
+    InstallRef existingInstall() const;
+
     bool isInstalled() const;
     
     std::string id() const;
@@ -102,6 +104,8 @@ public:
      */
     PackageList dependencies() const;
 private:
+    SGPath pathOnDisk() const;
+
     friend class Catalog;
     
     Package(const SGPropertyNode* aProps, CatalogRef aCatalog);