diff options
author | vng <viktor.govako@gmail.com> | 2011-06-30 10:52:22 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:20:14 +0300 |
commit | 233683d1670e89076c82401e2693315046c7244e (patch) | |
tree | 3b0a9b71d53e853e663da18c362f6ba267b1bc85 /indexer/classificator_loader.hpp | |
parent | f0587a9105b5519903f4f2c3dada1ee3572e7ce1 (diff) |
[Refactoring] Use Reader interface everywhere, when possible. Platform class now is a Reader factory.
Diffstat (limited to 'indexer/classificator_loader.hpp')
-rw-r--r-- | indexer/classificator_loader.hpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indexer/classificator_loader.hpp b/indexer/classificator_loader.hpp index 412e8a1d29..933904fa77 100644 --- a/indexer/classificator_loader.hpp +++ b/indexer/classificator_loader.hpp @@ -1,8 +1,13 @@ #pragma once +#include "../coding/reader.hpp" + #include "../std/string.hpp" + namespace classificator { - void Read(string const & rules, string const & classificator, string const & visibility); + typedef ReaderPtr<Reader> file_t; + void Read(file_t const & rules, file_t const & classificator, file_t const & visibility); + void ReadVisibility(string const & fPath); } |