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

eye_storage.hpp « metrics - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 737429bf8f42bc28a642f2b3d881618cadadf6a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

#include <cstdint>
#include <string>
#include <vector>

namespace eye
{
class Storage
{
public:
  static std::string GetEyeDir();
  static std::string GetInfoFilePath();
  static std::string GetPoiEventsFilePath();
  static bool SaveInfo(std::vector<int8_t> const & src);
  static bool LoadInfo(std::vector<int8_t> & dst);
  static bool SaveMapObjects(std::vector<int8_t> const & src);
  static bool LoadMapObjects(std::vector<int8_t> & dst);
  static bool AppendMapObjectEvent(std::vector<int8_t> const & src);
  static void Migrate();
};
}  // namespace eye