LEFT | RIGHT |
1 #ifndef ADBLOCKPLUS_FILE_SYSTEM_H | 1 #ifndef ADBLOCK_PLUS_FILE_SYSTEM_H |
2 #define ADBLOCKPLUS_FILE_SYSTEM_H | 2 #define ADBLOCK_PLUS_FILE_SYSTEM_H |
3 | 3 |
4 #include <istream> | 4 #include <istream> |
5 #include <stdint.h> | 5 #include <stdint.h> |
6 #include <string> | 6 #include <string> |
7 | 7 |
8 #include "tr1_memory.h" | 8 #include "tr1_memory.h" |
9 | 9 |
10 namespace AdblockPlus | 10 namespace AdblockPlus |
11 { | 11 { |
12 class FileSystem | 12 class FileSystem |
(...skipping 16 matching lines...) Expand all Loading... |
29 const std::string& toPath) = 0; | 29 const std::string& toPath) = 0; |
30 virtual void Remove(const std::string& path) = 0; | 30 virtual void Remove(const std::string& path) = 0; |
31 virtual StatResult Stat(const std::string& path) const = 0; | 31 virtual StatResult Stat(const std::string& path) const = 0; |
32 virtual std::string Resolve(const std::string& path) const = 0; | 32 virtual std::string Resolve(const std::string& path) const = 0; |
33 }; | 33 }; |
34 | 34 |
35 typedef std::tr1::shared_ptr<FileSystem> FileSystemPtr; | 35 typedef std::tr1::shared_ptr<FileSystem> FileSystemPtr; |
36 } | 36 } |
37 | 37 |
38 #endif | 38 #endif |
LEFT | RIGHT |