]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/HTTPClient.hxx
Interim windows build fix
[flightgear.git] / src / Network / HTTPClient.hxx
index f97cebbd3252ea58b0fcf1bef6174111ad8c55f0..3a92ee1ef1a29a23d9cc6ad226257fdd47ab8066 100644 (file)
@@ -32,13 +32,26 @@ public:
     virtual ~FGHTTPClient();
     
     void makeRequest(const simgear::HTTP::Request_ptr& req);
+
+    simgear::HTTP::Client* client() { return _http.get(); }
+    simgear::HTTP::Client const* client() const { return _http.get(); }
     
     virtual void init();
+    virtual void postinit();
     virtual void shutdown();
-    virtual void update(double dt);
-  
+    virtual void update(double);
+
+    bool isDefaultCatalogInstalled() const;
+    void addDefaultCatalog();
+
+    std::string getDefaultCatalogId() const;
+    std::string getDefaultCatalogUrl() const;
 private:
+    class FGDelegate;
+    
+    bool _inited;
     std::auto_ptr<simgear::HTTP::Client> _http;
+    std::auto_ptr<FGDelegate> _packageDelegate;
 };
 
 #endif // FG_HTTP_CLIENT_HXX