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:
Diffstat (limited to 'ugc/loader.hpp')
-rw-r--r--ugc/loader.hpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/ugc/loader.hpp b/ugc/loader.hpp
new file mode 100644
index 0000000000..45e332bd0c
--- /dev/null
+++ b/ugc/loader.hpp
@@ -0,0 +1,22 @@
+#pragma once
+
+#include "ugc/binary/serdes.hpp"
+
+class Index;
+struct FeatureID;
+
+namespace ugc
+{
+struct UGC;
+
+class Loader
+{
+public:
+ Loader(Index const & index);
+ void GetUGC(FeatureID const & featureId, UGC & ugc);
+
+private:
+ Index const & m_index;
+ binary::UGCDeserializer m_d;
+};
+} // namespace ugc