diff options
author | Alexander Kutsan <akutsan@luxoft.com> | 2017-08-21 18:56:36 +0300 |
---|---|---|
committer | Alexander Kutsan <akutsan@luxoft.com> | 2017-08-21 20:57:55 +0300 |
commit | 03752b1cf0467a960e9777081352cd2bb138875a (patch) | |
tree | fea86ab0515802ad4d238ae389303d6c1d01ec2d /src/components/include | |
parent | 73c1b10be69a41712df962e7925108e3fb05473e (diff) | |
download | sdl_core-03752b1cf0467a960e9777081352cd2bb138875a.tar.gz |
Redundant interface removed
Diffstat (limited to 'src/components/include')
4 files changed, 0 insertions, 23 deletions
diff --git a/src/components/include/application_manager/application_manager.h b/src/components/include/application_manager/application_manager.h index e275d67f74..6659022ee5 100644 --- a/src/components/include/application_manager/application_manager.h +++ b/src/components/include/application_manager/application_manager.h @@ -164,9 +164,6 @@ class ApplicationManager { virtual ApplicationSharedPtr application( const std::string& device_id, const std::string& policy_app_id) const = 0; - virtual void SubscribeToHMINotification( - const std::string& hmi_notification) = 0; - virtual uint32_t GetDeviceHandle(uint32_t connection_key) = 0; /** diff --git a/src/components/include/hmi_message_handler/hmi_message_adapter.h b/src/components/include/hmi_message_handler/hmi_message_adapter.h index 9423f74394..704cc619be 100644 --- a/src/components/include/hmi_message_handler/hmi_message_adapter.h +++ b/src/components/include/hmi_message_handler/hmi_message_adapter.h @@ -49,15 +49,6 @@ class HMIMessageAdapter : public HMIMessageSender { */ virtual ~HMIMessageAdapter() {} -#ifdef SDL_REMOTE_CONTROL - /** - * @brief Subscribes to notification from HMI - * @param hmi_notification string with notification name - */ - virtual void SubscribeToHMINotification( - const std::string& hmi_notification) = 0; -#endif // SDL_REMOTE_CONTROL - protected: /** * \brief Interface for subscriptions. diff --git a/src/components/include/hmi_message_handler/hmi_message_handler.h b/src/components/include/hmi_message_handler/hmi_message_handler.h index 5c4a443407..411d19fb75 100644 --- a/src/components/include/hmi_message_handler/hmi_message_handler.h +++ b/src/components/include/hmi_message_handler/hmi_message_handler.h @@ -51,15 +51,6 @@ class HMIMessageHandler : public HMIMessageObserver, public HMIMessageSender { virtual void AddHMIMessageAdapter(HMIMessageAdapter* adapter) = 0; virtual void RemoveHMIMessageAdapter(HMIMessageAdapter* adapter) = 0; -#ifdef SDL_REMOTE_CONTROL - /** - * @brief Subscribes to notification from HMI - * @param hmi_notification string with notification name - */ - virtual void SubscribeToHMINotification( - const std::string& hmi_notification) = 0; -#endif // SDL_REMOTE_CONTROL - /** * \brief Hmi message handler settings getter * \return pointer to hmi message handler settings class diff --git a/src/components/include/test/application_manager/mock_application_manager.h b/src/components/include/test/application_manager/mock_application_manager.h index 139efbf1ee..4dde99dbfc 100644 --- a/src/components/include/test/application_manager/mock_application_manager.h +++ b/src/components/include/test/application_manager/mock_application_manager.h @@ -81,8 +81,6 @@ class MockApplicationManager : public application_manager::ApplicationManager { application_manager::ApplicationSharedPtr( const std::string& device_id, const std::string& policy_app_id)); - MOCK_METHOD1(SubscribeToHMINotification, - void(const std::string& hmi_notification)); MOCK_METHOD1(GetDeviceHandle, uint32_t(uint32_t connection_key)); MOCK_CONST_METHOD1(IsAudioStreamingAllowed, bool(uint32_t connection_key)); MOCK_CONST_METHOD1(IsVideoStreamingAllowed, bool(uint32_t connection_key)); |