summaryrefslogtreecommitdiff
path: root/src/components/application_manager/rpc_plugins/rc_rpc_plugin/include/rc_rpc_plugin/rc_app_extension.h
diff options
context:
space:
mode:
authorIra Lytvynenko <ILytvynenko@luxoft.com>2018-02-14 17:13:16 +0200
committerIra Lytvynenko (GitHub) <ILytvynenko@luxoft.com>2018-06-26 12:01:45 +0300
commitf8865f545e6b7831cf8365f19043627e2be51bbf (patch)
tree70d5a798c76b5d3898edf0bda82e880267c28e06 /src/components/application_manager/rpc_plugins/rc_rpc_plugin/include/rc_rpc_plugin/rc_app_extension.h
parentc8c8d7f4425e23fe1acaf8d7ff9828b60079ac4f (diff)
downloadsdl_core-f8865f545e6b7831cf8365f19043627e2be51bbf.tar.gz
GetInteriorVehicleData implementation and some fixes
Diffstat (limited to 'src/components/application_manager/rpc_plugins/rc_rpc_plugin/include/rc_rpc_plugin/rc_app_extension.h')
-rw-r--r--src/components/application_manager/rpc_plugins/rc_rpc_plugin/include/rc_rpc_plugin/rc_app_extension.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/components/application_manager/rpc_plugins/rc_rpc_plugin/include/rc_rpc_plugin/rc_app_extension.h b/src/components/application_manager/rpc_plugins/rc_rpc_plugin/include/rc_rpc_plugin/rc_app_extension.h
index f3f8535486..5597c1bf17 100644
--- a/src/components/application_manager/rpc_plugins/rc_rpc_plugin/include/rc_rpc_plugin/rc_app_extension.h
+++ b/src/components/application_manager/rpc_plugins/rc_rpc_plugin/include/rc_rpc_plugin/rc_app_extension.h
@@ -36,7 +36,6 @@
#include <string>
#include <set>
#include "application_manager/app_extension.h"
-#include "json/json.h"
namespace rc_rpc_plugin {
class RCAppExtension : public application_manager::AppExtension {
@@ -48,13 +47,13 @@ class RCAppExtension : public application_manager::AppExtension {
* @brief Subscribe to OnInteriorVehicleDataNotification
* @param module interior data specification(zone, data type)
*/
- void SubscribeToInteriorVehicleData(const Json::Value& module_type);
+ void SubscribeToInteriorVehicleData(const std::string& module_type);
/**
* @brief Unsubscribe from OnInteriorVehicleDataNotification
* @param module interior data specification(zone, data type)
*/
- void UnsubscribeFromInteriorVehicleData(const Json::Value& module_type);
+ void UnsubscribeFromInteriorVehicleData(const std::string& module_type);
/**
* @brief UnsubscribeFromInteriorVehicleData removes all subscriptions for
@@ -66,10 +65,10 @@ class RCAppExtension : public application_manager::AppExtension {
* @brief Check if application subscribed to OnInteriorVehicleDataNotification
* @param module interior data specification(zone, data type)
*/
- bool IsSubscibedToInteriorVehicleData(const Json::Value& module_type);
+ bool IsSubscibedToInteriorVehicleData(const std::string& module_type);
private:
- std::set<Json::Value> subscribed_interior_vehicle_data_;
+ std::set<std::string> subscribed_interior_vehicle_data_;
};
typedef utils::SharedPtr<RCAppExtension> RCAppExtensionPtr;