Index: include/AdblockPlus/DefaultFileSystem.h |
=================================================================== |
--- a/include/AdblockPlus/DefaultFileSystem.h |
+++ b/include/AdblockPlus/DefaultFileSystem.h |
@@ -3,6 +3,12 @@ |
#include "FileSystem.h" |
+#ifdef _WIN32 |
+#define PATH_SEPARATOR '\\' |
+#else |
+#define PATH_SEPARATOR '/' |
+#endif |
+ |
namespace AdblockPlus |
{ |
class DefaultFileSystem : public FileSystem |
@@ -17,6 +23,9 @@ |
StatResult Stat(const std::string& path) const; |
std::string Resolve(const std::string& path) const; |
void SetBasePath(const std::string& path); |
+ protected: |
+ std::string basePath; |
+ |
}; |
} |