diff options
author | Yuri Gorshenin <y@mmaps.me> | 2015-03-30 14:26:48 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:41:35 +0300 |
commit | 25f7a7f2f32cc4db8a5bd0106ae4c8f6c6292201 (patch) | |
tree | be1b14a86fe2f34445e488c128eaad7b1d0aeece /map/feature_vec_model.hpp | |
parent | f6bba24d00706065ddacf7e983fc4cf9ede8b7ab (diff) |
Review fixes.
Diffstat (limited to 'map/feature_vec_model.hpp')
-rw-r--r-- | map/feature_vec_model.hpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/map/feature_vec_model.hpp b/map/feature_vec_model.hpp index b786ced872..f0de9c28b3 100644 --- a/map/feature_vec_model.hpp +++ b/map/feature_vec_model.hpp @@ -1,5 +1,6 @@ #pragma once +#include "../indexer/data_header.hpp" #include "../indexer/index.hpp" #include "../geometry/rect2d.hpp" @@ -30,9 +31,10 @@ namespace model void InitClassificator(); /// @param[in] file Name of mwm file with extension. - //@{ - /// @return MWM format version for file or -1 if error and map was not added - int RegisterMap(string const & file); + //{@ + /// @return True when map was successfully registered, also, sets + /// version to the file format version. + bool RegisterMap(string const & file, feature::DataHeader::Version & version); /// Deregisters map denoted by file from internal records. void DeregisterMap(string const & file); |