summaryrefslogtreecommitdiff
path: root/src/components/application_manager/include/application_manager/message_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/application_manager/include/application_manager/message_helper.h')
-rw-r--r--src/components/application_manager/include/application_manager/message_helper.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/components/application_manager/include/application_manager/message_helper.h b/src/components/application_manager/include/application_manager/message_helper.h
index babd07fd51..a89066f3a1 100644
--- a/src/components/application_manager/include/application_manager/message_helper.h
+++ b/src/components/application_manager/include/application_manager/message_helper.h
@@ -605,13 +605,6 @@ class MessageHelper {
*/
static bool SendUnsubscribedWayPoints(ApplicationManager& app_mngr);
- /**
- * @brief Creates SubscribeWayPointsMessage to be sent to HMI
- * @return filled smart object with relevant message data
- */
- static smart_objects::SmartObjectSPtr CreateSubscribeWayPointsMessageToHMI(
- const uint32_t correlation_id);
-
static smart_objects::SmartObjectSPtr CreateNegativeResponse(
uint32_t connection_key,
int32_t function_id,
@@ -896,6 +889,16 @@ class MessageHelper {
hmi_apis::messageType::eType message_type, const uint32_t correlation_id);
/**
+ * @brief CreateMessageForHMI Creates HMI message with prepared header
+ * acccoring to message type
+ * @param function_id function id
+ * @param correlation_id Correlation id
+ * @return HMI message object with filled header
+ */
+ static smart_objects::SmartObjectSPtr CreateMessageForHMI(
+ hmi_apis::FunctionID::eType function_id, const uint32_t correlation_id);
+
+ /**
* @brief CreateUIResetGlobalPropertiesRequest Creates request
* to reset global properties for UI
* @param struct containing result of global properties reset procedure