summaryrefslogtreecommitdiff
path: root/src/components/include
diff options
context:
space:
mode:
authorAlexander Kutsan <akutsan@luxoft.com>2017-08-21 18:56:36 +0300
committerAlexander Kutsan <akutsan@luxoft.com>2017-08-21 20:57:55 +0300
commit03752b1cf0467a960e9777081352cd2bb138875a (patch)
treefea86ab0515802ad4d238ae389303d6c1d01ec2d /src/components/include
parent73c1b10be69a41712df962e7925108e3fb05473e (diff)
downloadsdl_core-03752b1cf0467a960e9777081352cd2bb138875a.tar.gz
Redundant interface removed
Diffstat (limited to 'src/components/include')
-rw-r--r--src/components/include/application_manager/application_manager.h3
-rw-r--r--src/components/include/hmi_message_handler/hmi_message_adapter.h9
-rw-r--r--src/components/include/hmi_message_handler/hmi_message_handler.h9
-rw-r--r--src/components/include/test/application_manager/mock_application_manager.h2
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));