diff options
author | jacobkeeler <jacob.keeler@livioradio.com> | 2019-03-16 16:46:24 -0400 |
---|---|---|
committer | jacobkeeler <jacob.keeler@livioradio.com> | 2019-03-16 16:46:24 -0400 |
commit | 7b3aaabb4543a8a6363761435bb1d43e060b7c19 (patch) | |
tree | d45d53fd36e2812667e7a23b980e8e4789b91a59 /src/components/application_manager/include/application_manager | |
parent | 0f5f63f6d5ca2769bc6a42fbc242fd582077f6ff (diff) | |
download | sdl_core-7b3aaabb4543a8a6363761435bb1d43e060b7c19.tar.gz |
Make DefaultServiceByType private
Also fix unnecessary `application_manager_impl.h` includes
Diffstat (limited to 'src/components/application_manager/include/application_manager')
2 files changed, 10 insertions, 9 deletions
diff --git a/src/components/application_manager/include/application_manager/app_service_manager.h b/src/components/application_manager/include/application_manager/app_service_manager.h index d643d55d1e..c97dd05a70 100644 --- a/src/components/application_manager/include/application_manager/app_service_manager.h +++ b/src/components/application_manager/include/application_manager/app_service_manager.h @@ -203,14 +203,6 @@ class AppServiceManager { virtual AppService* FindServiceByID(const std::string service_id); /** - * @brief Get the service ID of the default service for a given service type. - * @param service_type - The service type - * @return The service ID of the default service for the given service type on - * success, "" on failure - */ - virtual std::string DefaultServiceByType(const std::string service_type); - - /** * @brief Update a navigation system capability struct with the capabilities * of the active navigation service. * @param out_params - The struct to be modified @@ -244,6 +236,15 @@ class AppServiceManager { const bool mobile_consumer, ApplicationSharedPtr& app, bool& hmi_service); + + /** + * @brief Get the policy app ID of the default service provider for a given + * service type. + * @param service_type - The service type + * @return The policy app ID of the default service provider for the given + * service type on success, "" on failure + */ + std::string DefaultServiceByType(const std::string service_type); AppService* FindServiceByPolicyAppID(const std::string policy_app_id, const std::string type); std::string GetPolicyAppID(AppService service); diff --git a/src/components/application_manager/include/application_manager/system_time/system_time_handler_impl.h b/src/components/application_manager/include/application_manager/system_time/system_time_handler_impl.h index add440ad80..05565861f6 100644 --- a/src/components/application_manager/include/application_manager/system_time/system_time_handler_impl.h +++ b/src/components/application_manager/include/application_manager/system_time/system_time_handler_impl.h @@ -39,7 +39,7 @@ #include "utils/lock.h" #include "utils/macro.h" #include "utils/system_time_handler.h" -#include "application_manager/application_manager_impl.h" +#include "application_manager/application_manager.h" #include "application_manager/event_engine/event_observer.h" namespace application_manager { |