Skip to content

Commit

Permalink
Fix include path for storage
Browse files Browse the repository at this point in the history
  • Loading branch information
syershov authored and biodranik committed Sep 22, 2015
1 parent 9525b52 commit 6aa0d53
Show file tree
Hide file tree
Showing 23 changed files with 107 additions and 107 deletions.
2 changes: 1 addition & 1 deletion storage/app_store.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "../std/stdint.hpp"
#include "std/stdint.hpp"

struct HttpFinishedParams;

Expand Down
10 changes: 5 additions & 5 deletions storage/countries.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#include "countries.hpp"
#include "simple_tree.hpp"
#include "storage/countries.hpp"
#include "storage/simple_tree.hpp"

#include "../base/string_utils.hpp"
#include "base/string_utils.hpp"

#include "../geometry/cellid.hpp"
#include "geometry/cellid.hpp"

#include "../std/iostream.hpp"
#include "std/iostream.hpp"

typedef m2::CellId<9> CountryCellId;

Expand Down
6 changes: 3 additions & 3 deletions storage/countries.hpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#pragma once
#include "../base/base.hpp"
#include "base/base.hpp"

#include "../std/string.hpp"
#include "../std/vector.hpp"
#include "std/string.hpp"
#include "std/vector.hpp"

template <class T> class SimpleTree;

Expand Down
8 changes: 4 additions & 4 deletions storage/country.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#include "country.hpp"
#include "storage/country.hpp"

#include "../platform/platform.hpp"
#include "platform/platform.hpp"

#include "../base/logging.hpp"
#include "base/logging.hpp"

#include "../3party/jansson/myjansson.hpp"
#include "3party/jansson/myjansson.hpp"


namespace storage
Expand Down
16 changes: 8 additions & 8 deletions storage/country.hpp
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#pragma once

#include "storage_defines.hpp"
#include "simple_tree.hpp"
#include "country_decl.hpp"
#include "storage/storage_defines.hpp"
#include "storage/simple_tree.hpp"
#include "storage/country_decl.hpp"

#include "../defines.hpp"
#include "defines.hpp"

#include "../geometry/rect2d.hpp"
#include "geometry/rect2d.hpp"

#include "../base/buffer_vector.hpp"
#include "base/buffer_vector.hpp"

#include "../std/string.hpp"
#include "../std/vector.hpp"
#include "std/string.hpp"
#include "std/vector.hpp"


namespace update { class SizeUpdater; }
Expand Down
2 changes: 1 addition & 1 deletion storage/country_decl.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "country_decl.hpp"
#include "storage/country_decl.hpp"


void storage::CountryInfo::FileName2FullName(string & fName)
Expand Down
4 changes: 2 additions & 2 deletions storage/country_decl.hpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#pragma once

#include "../geometry/rect2d.hpp"
#include "geometry/rect2d.hpp"

#include "../std/string.hpp"
#include "std/string.hpp"


namespace storage
Expand Down
14 changes: 7 additions & 7 deletions storage/country_info.cpp
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#include "country_info.hpp"
#include "country_polygon.hpp"
#include "country.hpp"
#include "storage/country_info.hpp"
#include "storage/country_polygon.hpp"
#include "storage/country.hpp"

#include "../indexer/geometry_serialization.hpp"
#include "indexer/geometry_serialization.hpp"

#include "../geometry/region2d.hpp"
#include "geometry/region2d.hpp"

#include "../coding/read_write_utils.hpp"
#include "coding/read_write_utils.hpp"

#include "../base/string_utils.hpp"
#include "base/string_utils.hpp"


namespace storage
Expand Down
8 changes: 4 additions & 4 deletions storage/country_info.hpp
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#pragma once

#include "country_decl.hpp"
#include "storage/country_decl.hpp"

#include "../geometry/region2d.hpp"
#include "geometry/region2d.hpp"

#include "../coding/file_container.hpp"
#include "coding/file_container.hpp"

#include "../base/cache.hpp"
#include "base/cache.hpp"


namespace storage
Expand Down
8 changes: 4 additions & 4 deletions storage/country_polygon.hpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#pragma once

#include "country_decl.hpp"
#include "storage/country_decl.hpp"

#include "../indexer/point_to_int64.hpp"
#include "../indexer/coding_params.hpp"
#include "indexer/point_to_int64.hpp"
#include "indexer/coding_params.hpp"

#include "../coding/read_write_utils.hpp"
#include "coding/read_write_utils.hpp"


namespace storage
Expand Down
12 changes: 6 additions & 6 deletions storage/data_header.cpp
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#include "data_header.hpp"
#include "storage/data_header.hpp"

#include "../base/string_utils.hpp"
#include "base/string_utils.hpp"

#include "../platform/platform.hpp"
#include "platform/platform.hpp"

#include "../coding/file_writer.hpp"
#include "coding/file_writer.hpp"

#include "../indexer/cell_id.hpp"
#include "indexer/cell_id.hpp"

#include "../base/start_mem_debug.hpp"
#include "base/start_mem_debug.hpp"

namespace feature
{
Expand Down
16 changes: 8 additions & 8 deletions storage/data_header.hpp
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#pragma once

#include "../base/std_serialization.hpp"
#include "base/std_serialization.hpp"

#include "../storage/defines.hpp"
#include "storage/defines.hpp"

#include "../coding/streams_sink.hpp"
#include "coding/streams_sink.hpp"

#include "../geometry/rect2d.hpp"
#include "geometry/rect2d.hpp"

#include "../std/string.hpp"
#include "../std/tuple.hpp"
#include "std/string.hpp"
#include "std/tuple.hpp"

#include "../base/start_mem_debug.hpp"
#include "base/start_mem_debug.hpp"

namespace feature
{
Expand Down Expand Up @@ -66,4 +66,4 @@ namespace feature

}

#include "../base/stop_mem_debug.hpp"
#include "base/stop_mem_debug.hpp"
10 changes: 5 additions & 5 deletions storage/data_header_reader.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#include "data_header_reader.hpp"
#include "data_header.hpp"
#include "storage/data_header_reader.hpp"
#include "storage/data_header.hpp"

#include "../coding/file_reader.hpp"
#include "../coding/file_writer.hpp"
#include "coding/file_reader.hpp"
#include "coding/file_writer.hpp"

#include "../base/start_mem_debug.hpp"
#include "base/start_mem_debug.hpp"

namespace feature
{
Expand Down
4 changes: 2 additions & 2 deletions storage/data_header_reader.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once
#include "../base/base.hpp"
#include "base/base.hpp"

#include "../std/string.hpp"
#include "std/string.hpp"

class Writer;
class Reader;
Expand Down
4 changes: 2 additions & 2 deletions storage/index.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "index.hpp"
#include "storage/index.hpp"

#include "../std/sstream.hpp"
#include "std/sstream.hpp"


namespace storage
Expand Down
2 changes: 1 addition & 1 deletion storage/index.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#pragma once
#include "../std/string.hpp"
#include "std/string.hpp"


namespace storage
Expand Down
4 changes: 2 additions & 2 deletions storage/simple_tree.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include "../std/vector.hpp"
#include "../std/algorithm.hpp"
#include "std/vector.hpp"
#include "std/algorithm.hpp"

template <class T>
class SimpleTree
Expand Down
32 changes: 16 additions & 16 deletions storage/storage.cpp
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
#include "storage.hpp"
#include "storage/storage.hpp"

#include "../defines.hpp"
#include "defines.hpp"

#include "../platform/platform.hpp"
#include "../platform/servers_list.hpp"
#include "../platform/settings.hpp"
#include "platform/platform.hpp"
#include "platform/servers_list.hpp"
#include "platform/settings.hpp"

#include "../coding/file_writer.hpp"
#include "../coding/file_reader.hpp"
#include "../coding/file_container.hpp"
#include "../coding/url_encode.hpp"
#include "../coding/file_name_utils.hpp"
#include "coding/file_writer.hpp"
#include "coding/file_reader.hpp"
#include "coding/file_container.hpp"
#include "coding/url_encode.hpp"
#include "coding/file_name_utils.hpp"

#include "../base/logging.hpp"
#include "../base/string_utils.hpp"
#include "base/logging.hpp"
#include "base/string_utils.hpp"

#include "../std/algorithm.hpp"
#include "../std/target_os.hpp"
#include "../std/bind.hpp"
#include "../std/sstream.hpp"
#include "std/algorithm.hpp"
#include "std/target_os.hpp"
#include "std/bind.hpp"
#include "std/sstream.hpp"


using namespace downloader;
Expand Down
24 changes: 12 additions & 12 deletions storage/storage.hpp
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#pragma once

#include "storage_defines.hpp"
#include "country.hpp"
#include "index.hpp"

#include "../platform/http_request.hpp"

#include "../std/vector.hpp"
#include "../std/list.hpp"
#include "../std/string.hpp"
#include "../std/set.hpp"
#include "../std/function.hpp"
#include "../std/unique_ptr.hpp"
#include "storage/storage_defines.hpp"
#include "storage/country.hpp"
#include "storage/index.hpp"

#include "platform/http_request.hpp"

#include "std/vector.hpp"
#include "std/list.hpp"
#include "std/string.hpp"
#include "std/set.hpp"
#include "std/function.hpp"
#include "std/unique_ptr.hpp"


namespace storage
Expand Down
6 changes: 3 additions & 3 deletions storage/storage_defines.hpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#pragma once

#include "../3party/enum_flags.hpp"
#include "3party/enum_flags.hpp"

#include "../std/stdint.hpp"
#include "../std/utility.hpp"
#include "std/stdint.hpp"
#include "std/utility.hpp"

namespace storage
{
Expand Down
12 changes: 6 additions & 6 deletions storage/storage_tests/country_info_test.cpp
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#include "../../testing/testing.hpp"
#include "testing/testing.hpp"

#include "../country_info.hpp"
#include "../country.hpp"
#include "storage/country_info.hpp"
#include "storage/country.hpp"

#include "../../indexer/mercator.hpp"
#include "indexer/mercator.hpp"

#include "../../platform/platform.hpp"
#include "platform/platform.hpp"

#include "../../base/logging.hpp"
#include "base/logging.hpp"


using namespace storage;
Expand Down
4 changes: 2 additions & 2 deletions storage/storage_tests/simple_tree_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "../../testing/testing.hpp"
#include "testing/testing.hpp"

#include "../simple_tree.hpp"
#include "storage/simple_tree.hpp"


namespace
Expand Down
6 changes: 3 additions & 3 deletions storage/storage_tests/storage_tests.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include "../../testing/testing.hpp"
#include "testing/testing.hpp"

#include "../storage.hpp"
#include "storage/storage.hpp"

#include "../../defines.hpp"
#include "defines.hpp"


using namespace storage;
Expand Down

0 comments on commit 6aa0d53

Please sign in to comment.