aboutsummaryrefslogtreecommitdiff
path: root/HTTPFile.h
diff options
context:
space:
mode:
Diffstat (limited to 'HTTPFile.h')
-rw-r--r--HTTPFile.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/HTTPFile.h b/HTTPFile.h
index 39f058b..4b05e18 100644
--- a/HTTPFile.h
+++ b/HTTPFile.h
@@ -2,9 +2,9 @@
#include <cpr/cpr.h>
-#include "FileStrategy.h"
+#include "FileReader.h"
-class HTTPFile : FileStrategy {
+class HTTPFileReader : FileReader {
protected:
virtual void open(const std::string url);
public:
@@ -12,16 +12,16 @@ public:
virtual const std::string read();
public:
- virtual ~HTTPFile();
+ virtual ~HTTPFileReader();
private:
- HTTPFile(const HTTPFile *);
- virtual HTTPFile * clone() const;
+ HTTPFileReader(const HTTPFileReader *);
+ virtual HTTPFileReader * clone() const;
private:
- using FileStrategy::FileStrategy;
+ using FileReader::FileReader;
constexpr static const std::string protocol = "https://";
- static HTTPFile instance;
+ static HTTPFileReader instance;
private:
cpr::Response _res;