Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2011-06-30 10:52:22 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:20:14 +0300
commit233683d1670e89076c82401e2693315046c7244e (patch)
tree3b0a9b71d53e853e663da18c362f6ba267b1bc85 /indexer/classificator_loader.hpp
parentf0587a9105b5519903f4f2c3dada1ee3572e7ce1 (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.hpp7
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);
}