summaryrefslogtreecommitdiff
path: root/src/components/include/policy/policy_regular/policy/policy_manager.h
diff options
context:
space:
mode:
authorConlain Kelly <conlain.k@gmail.com>2018-08-10 11:04:43 -0400
committerConlain Kelly <conlain.k@gmail.com>2018-08-10 11:04:43 -0400
commit72a64f7419d20bc379d1e050fdaac90b2a6d097f (patch)
treef5be0f57b4699b2fd30a459c105cfb44c6903508 /src/components/include/policy/policy_regular/policy/policy_manager.h
parent3b5ddfdacb94f4e3f5752bb7165ca668f62f4a5d (diff)
parent43e53192045daeff8e9e2887c8b67894725240b5 (diff)
downloadsdl_core-72a64f7419d20bc379d1e050fdaac90b2a6d097f.tar.gz
Merge branch 'develop' of https://github.com/smartdevicelink/sdl_core into feature/boost_datetime_implementation
Diffstat (limited to 'src/components/include/policy/policy_regular/policy/policy_manager.h')
-rw-r--r--src/components/include/policy/policy_regular/policy/policy_manager.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/components/include/policy/policy_regular/policy/policy_manager.h b/src/components/include/policy/policy_regular/policy/policy_manager.h
index 84d48a691e..ee0bae7118 100644
--- a/src/components/include/policy/policy_regular/policy/policy_manager.h
+++ b/src/components/include/policy/policy_regular/policy/policy_manager.h
@@ -42,14 +42,11 @@
#include "policy/policy_listener.h"
#include "policy/usage_statistics/statistics_manager.h"
#include "policy/cache_manager_interface.h"
-
-#ifdef SDL_REMOTE_CONTROL
#include "policy/access_remote.h"
-#endif // SDL_REMOTE_CONTROL
namespace policy {
class PolicySettings;
-typedef utils::SharedPtr<utils::Callable> StatusNotifier;
+typedef std::shared_ptr<utils::Callable> StatusNotifier;
class PolicyManager : public usage_statistics::StatisticsManager {
public:
@@ -543,7 +540,7 @@ class PolicyManager : public usage_statistics::StatisticsManager {
* urls vector
*/
virtual AppIdURL GetNextUpdateUrl(const EndpointUrls& urls) = 0;
-#ifdef SDL_REMOTE_CONTROL
+
/**
* @brief Assigns new HMI types for specified application
* @param application_id Unique application id
@@ -592,8 +589,7 @@ class PolicyManager : public usage_statistics::StatisticsManager {
* @param access_remote pointer to new access_remote instance
*/
virtual void set_access_remote(
- utils::SharedPtr<AccessRemote> access_remote) = 0;
-#endif // SDL_REMOTE_CONTROL
+ std::shared_ptr<AccessRemote> access_remote) = 0;
/**
* @brief Checks if there is existing URL in the EndpointUrls vector with