summaryrefslogtreecommitdiff
path: root/src/components/policy/policy_regular/include/policy/policy_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/policy/policy_regular/include/policy/policy_helper.h')
-rw-r--r--src/components/policy/policy_regular/include/policy/policy_helper.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/components/policy/policy_regular/include/policy/policy_helper.h b/src/components/policy/policy_regular/include/policy/policy_helper.h
index 996c2917d0..ce1288fa1b 100644
--- a/src/components/policy/policy_regular/include/policy/policy_helper.h
+++ b/src/components/policy/policy_regular/include/policy/policy_helper.h
@@ -243,6 +243,22 @@ FunctionalGroupIDs FindSame(const FunctionalGroupIDs& first,
* @return true, if succeded, otherwise - false
*/
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
}
#endif // SRC_COMPONENTS_POLICY_POLICY_REGULAR_INCLUDE_POLICY_POLICY_HELPER_H_