]> git.mxchange.org Git - simgear.git/blobdiff - simgear/io/HTTPRepository.hxx
Don't use object returned from vector::end()
[simgear.git] / simgear / io / HTTPRepository.hxx
index c3953011a33bd94d75497bcd13239c1f6c01ca7a..4a355441a872a6146c3348dd4c0a5f57f1c1ac54 100644 (file)
@@ -21,6 +21,7 @@
 #define SG_IO_HTTP_REPOSITORY_HXX
 
 #include <simgear/io/AbstractRepository.hxx>
+#include <memory>
 
 namespace simgear  {
 
@@ -45,6 +46,10 @@ public:
     virtual bool isDoingSync() const;
 
     virtual ResultCode failure() const;
+
+    virtual size_t bytesToDownload() const;
+
+    virtual size_t bytesDownloaded() const;
 private:
     bool isBare() const;