| Left: | ||
| Right: |
| LEFT | RIGHT |
|---|---|
| (no file at all) | |
| 1 #ifndef ADBLOCKPLUS_FILE_READER_H | |
| 2 #define ADBLOCKPLUS_FILE_READER_H | |
| 3 | |
| 4 #include <istream> | |
| 5 #include <string> | |
| 6 #include <memory> | |
| 7 | |
| 8 namespace AdblockPlus | |
| 9 { | |
| 10 class FileReader | |
| 11 { | |
| 12 public: | |
| 13 virtual ~FileReader(); | |
| 14 virtual std::auto_ptr<std::istream> Read(const std::string& path) const = 0; | |
| 15 }; | |
| 16 } | |
| 17 | |
| 18 #endif | |
| LEFT | RIGHT |