summaryrefslogtreecommitdiff
path: root/src/components/application_manager/include/application_manager/commands/mobile/subscribe_vehicle_data_request.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/application_manager/include/application_manager/commands/mobile/subscribe_vehicle_data_request.h')
-rw-r--r--src/components/application_manager/include/application_manager/commands/mobile/subscribe_vehicle_data_request.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/components/application_manager/include/application_manager/commands/mobile/subscribe_vehicle_data_request.h b/src/components/application_manager/include/application_manager/commands/mobile/subscribe_vehicle_data_request.h
index eb360b50d8..719c514729 100644
--- a/src/components/application_manager/include/application_manager/commands/mobile/subscribe_vehicle_data_request.h
+++ b/src/components/application_manager/include/application_manager/commands/mobile/subscribe_vehicle_data_request.h
@@ -3,6 +3,9 @@
Copyright (c) 2013, Ford Motor Company
All rights reserved.
+ Copyright (c) 2017, Livio, Inc.
+ All rights reserved.
+
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
@@ -117,6 +120,13 @@ class SubscribeVehicleDataRequest : public CommandRequestImpl {
ApplicationSharedPtr app,
const smart_objects::SmartObject& msg_params) const;
+ DEPRECATED void CheckVISubscribtions(
+ ApplicationSharedPtr app,
+ std::string& out_info,
+ mobile_apis::Result::eType& out_result_code,
+ smart_objects::SmartObject& out_response_params,
+ smart_objects::SmartObject& out_request_params,
+ bool& out_result);
/**
* @brief Checks if current application and other applications
* were subscribed to VI, prepare data that need to send to mobile app
@@ -130,7 +140,7 @@ class SubscribeVehicleDataRequest : public CommandRequestImpl {
* HMI
* @param result contains result that SDL sends to mobile app.
*/
- void CheckVISubscribtions(ApplicationSharedPtr app,
+ void CheckVISubscriptions(ApplicationSharedPtr app,
std::string& out_info,
mobile_apis::Result::eType& out_result_code,
smart_objects::SmartObject& out_response_params,
@@ -148,6 +158,11 @@ class SubscribeVehicleDataRequest : public CommandRequestImpl {
*/
VehicleInfoSubscriptions vi_already_subscribed_by_this_app_;
+ /**
+ * @brief VI parameters which wait for subscribe after HMI respond
+ */
+ VehicleInfoSubscriptions vi_waiting_for_subscribe_;
+
DISALLOW_COPY_AND_ASSIGN(SubscribeVehicleDataRequest);
};