mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
refactor: libs/feature_helpers merged in libs/indexer
Signed-off-by: Séverin Lemaignan <severin@guakamole.org>
This commit is contained in:
@@ -251,7 +251,6 @@ target_link_libraries(${PROJECT_NAME}
|
||||
storage
|
||||
descriptions
|
||||
indexer
|
||||
feature_helpers
|
||||
cppjansson
|
||||
expat::expat
|
||||
tess2
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
#include "indexer/feature_charge_sockets.hpp"
|
||||
#include "indexer/feature_data.hpp"
|
||||
#include "indexer/validate_and_format_contacts.hpp"
|
||||
#include "feature_helpers/feature_charge_sockets.hpp"
|
||||
|
||||
#include <string>
|
||||
|
||||
@@ -46,7 +46,6 @@ struct MetadataTagProcessorImpl
|
||||
static std::string ValidateAndFormat_outdoor_seating(std::string v);
|
||||
|
||||
protected:
|
||||
|
||||
// stores information about charge sockets in charging stations.
|
||||
ChargeSocketsHelper m_chargeSockets;
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@ add_subdirectory(descriptions)
|
||||
add_subdirectory(drape)
|
||||
add_subdirectory(drape_frontend)
|
||||
add_subdirectory(editor)
|
||||
add_subdirectory(feature_helpers)
|
||||
add_subdirectory(ge0)
|
||||
add_subdirectory(mwm_diff)
|
||||
add_subdirectory(geometry)
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
project(feature_helpers)
|
||||
|
||||
set(SRC
|
||||
feature_charge_sockets.cpp
|
||||
feature_charge_sockets.hpp
|
||||
)
|
||||
|
||||
omim_add_library(${PROJECT_NAME} ${SRC})
|
||||
target_link_libraries(${PROJECT_NAME}
|
||||
PRIVATE
|
||||
base
|
||||
)
|
||||
|
||||
omim_add_test_subdirectory(feature_helpers_tests)
|
||||
@@ -1,11 +0,0 @@
|
||||
project(feature_helpers_tests)
|
||||
|
||||
set(SRC
|
||||
feature_charge_sockets_test.cpp
|
||||
)
|
||||
|
||||
omim_add_test(${PROJECT_NAME} ${SRC})
|
||||
|
||||
target_link_libraries(${PROJECT_NAME}
|
||||
feature_helpers
|
||||
)
|
||||
@@ -60,6 +60,8 @@ set(SRC
|
||||
feature_algo.cpp
|
||||
feature_algo.hpp
|
||||
feature_altitude.hpp
|
||||
feature_charge_sockets.cpp
|
||||
feature_charge_sockets.hpp
|
||||
feature_covering.cpp
|
||||
feature_covering.hpp
|
||||
feature_data.cpp
|
||||
@@ -158,7 +160,6 @@ target_link_libraries(${PROJECT_NAME}
|
||||
geometry
|
||||
protobuf
|
||||
coding
|
||||
feature_helpers
|
||||
)
|
||||
|
||||
omim_add_test_subdirectory(indexer_tests)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
#include "feature_helpers/feature_charge_sockets.hpp"
|
||||
#include "indexer/feature_charge_sockets.hpp"
|
||||
|
||||
#include "base/logging.hpp"
|
||||
#include "base/string_utils.hpp"
|
||||
@@ -16,6 +16,7 @@ set(SRC
|
||||
data_source_test.cpp
|
||||
drules_selector_parser_test.cpp
|
||||
editable_map_object_test.cpp
|
||||
feature_charge_sockets_test.cpp
|
||||
feature_metadata_test.cpp
|
||||
feature_names_test.cpp
|
||||
feature_to_osm_tests.cpp
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "testing/testing.hpp"
|
||||
#include "indexer/feature_charge_sockets.hpp"
|
||||
|
||||
#include "feature_helpers/feature_charge_sockets.hpp"
|
||||
#include "testing/testing.hpp"
|
||||
|
||||
namespace feature_charge_sockets_test
|
||||
{
|
||||
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "indexer/feature_charge_sockets.hpp"
|
||||
#include "indexer/feature_data.hpp"
|
||||
#include "indexer/feature_decl.hpp"
|
||||
#include "indexer/feature_meta.hpp"
|
||||
@@ -10,8 +11,6 @@
|
||||
|
||||
#include "coding/string_utf8_multilang.hpp"
|
||||
|
||||
#include "feature_helpers/feature_charge_sockets.hpp"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user