diff options
Diffstat (limited to 'FileStrategy.h')
-rw-r--r-- | FileStrategy.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/FileStrategy.h b/FileStrategy.h deleted file mode 100644 index f896ec8..0000000 --- a/FileStrategy.h +++ /dev/null @@ -1,25 +0,0 @@ -#pragma once - -class FileReaderFactory; - -#include <string> - -class FileReader { -protected: - virtual void open(const std::string url) = 0; -public: - virtual void close() = 0; - virtual const std::string read() = 0; - -public: - virtual ~FileReader() = default; - -protected: - FileReader() = default; - virtual FileReader * clone() const = 0; - -protected: - FileReader(const std::string protocol); - friend FileReaderFactory; -}; - |