diff options
author | Andriy Byzhynar <AByzhynar@luxoft.com> | 2017-08-30 15:57:59 +0300 |
---|---|---|
committer | Andriy Byzhynar <AByzhynar@luxoft.com> | 2017-08-30 15:57:59 +0300 |
commit | 098eb67dbd5693d46f472e81a00839cffd40a71f (patch) | |
tree | 7c7af8e4e30cead4b5b3ab57ea79f6bee22ab875 /src/components/policy/policy_external/include | |
parent | 639c6b43034dd2739d396c0fee57475ed9fa25a7 (diff) | |
download | sdl_core-098eb67dbd5693d46f472e81a00839cffd40a71f.tar.gz |
Remove unused and redundant code from policy
Diffstat (limited to 'src/components/policy/policy_external/include')
-rw-r--r-- | src/components/policy/policy_external/include/policy/policy_helper.h | 16 | ||||
-rw-r--r-- | src/components/policy/policy_external/include/policy/policy_manager_impl.h | 8 |
2 files changed, 0 insertions, 24 deletions
diff --git a/src/components/policy/policy_external/include/policy/policy_helper.h b/src/components/policy/policy_external/include/policy/policy_helper.h index ece033c23c..42c1ec0b46 100644 --- a/src/components/policy/policy_external/include/policy/policy_helper.h +++ b/src/components/policy/policy_external/include/policy/policy_helper.h @@ -324,22 +324,6 @@ FunctionalGroupIDs FindSame(const FunctionalGroupIDs& first, */ bool UnwrapAppPolicies(policy_table::ApplicationPolicies& app_policies); -#ifdef SDL_REMOTE_CONTROL - -struct ProccessAppGroups { - ProccessAppGroups(const policy_table::ApplicationPolicies& apps, - PolicyManagerImpl* pm) - : new_apps_(apps), pm_(pm), default_(new_apps_.find(kDefaultId)) {} - void operator()(const policy_table::ApplicationPolicies::value_type& app); - - private: - const policy_table::ApplicationPolicies& new_apps_; - PolicyManagerImpl* pm_; - policy_table::ApplicationPolicies::const_iterator default_; -}; - -#endif // SDL_REMOTE_CONTROL - } // namespace policy #endif // SRC_COMPONENTS_POLICY_POLICY_EXTERNAL_INCLUDE_POLICY_POLICY_HELPER_H_ diff --git a/src/components/policy/policy_external/include/policy/policy_manager_impl.h b/src/components/policy/policy_external/include/policy/policy_manager_impl.h index b6865b645f..6e8c86103e 100644 --- a/src/components/policy/policy_external/include/policy/policy_manager_impl.h +++ b/src/components/policy/policy_external/include/policy/policy_manager_impl.h @@ -192,14 +192,6 @@ class PolicyManagerImpl : public PolicyManager { virtual bool GetHMITypes(const std::string& application_id, std::vector<int>* app_types) OVERRIDE; virtual void set_access_remote(utils::SharedPtr<AccessRemote> access_remote); - void CheckPTUUpdatesChange( - const utils::SharedPtr<policy_table::Table> pt_update, - const utils::SharedPtr<policy_table::Table> snapshot); - - void CheckRemoteGroupsChange( - const utils::SharedPtr<policy_table::Table> pt_update, - const utils::SharedPtr<policy_table::Table> snapshot); - void SendHMILevelChanged(const Subject& who); void OnPrimaryGroupsChanged(const std::string& application_id); |