diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-11 16:44:28 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-11 16:44:28 +0200 |
commit | 70feb9ed564fb7f557b7ab8b8d65e6376811b6ce (patch) | |
tree | d763d2a85475f564475624655ba5605eafb4d1e4 /File.h | |
parent | a842040a09cd95cf5c32f67941c7e99569a12f57 (diff) |
rename File -> FileStrategy
Diffstat (limited to 'File.h')
-rw-r--r-- | File.h | 25 |
1 files changed, 0 insertions, 25 deletions
@@ -1,25 +0,0 @@ -#pragma once - -class FileReader; - -#include <string> - -class File { -protected: - virtual void open(const std::string url) = 0; -public: - virtual void close() = 0; - virtual const std::string read() = 0; - -public: - virtual ~File() = default; - -protected: - File() = default; - virtual File * clone() const = 0; - -protected: - File(const std::string protocol); - friend FileReader; -}; - |