]> git.mxchange.org Git - simgear.git/blobdiff - simgear/package/Root.hxx
Expand package-system unit-tests.
[simgear.git] / simgear / package / Root.hxx
index 11e9a647a8bfcc3e984a20a8a2bed21b7fb6b8e4..69ac4804cbfa57d91db16051d2e51b850abfd45c 100644 (file)
@@ -81,13 +81,24 @@ public:
      * set yet.
      */
     void makeHTTPRequest(HTTP::Request* req);
+
+    /**
+     * Cancel an HTTP request.
+     */
+    void cancelHTTPRequest(HTTP::Request* req, const std::string& reason);
     
     /**
-     * the version string of the root. Catalogs must match this version,
+     * The catalog XML/property version in use. This is used to make incomaptible
+     * changes to the package/catalog syntax
+     */
+    int catalogVersion() const;
+
+    /**
+     * the version string of the application. Catalogs must match this version,
      * or they will be ignored / rejected.
      */
-    std::string catalogVersion() const;
-    
+    std::string applicationVersion() const;
+
     /**
      * refresh catalogs which are more than the maximum age (24 hours by default)
      * set force to true, to download all catalogs regardless of age.