summaryrefslogtreecommitdiff
path: root/src/components/policy/policy_external/include/policy/access_remote_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/policy/policy_external/include/policy/access_remote_impl.h')
-rw-r--r--src/components/policy/policy_external/include/policy/access_remote_impl.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/components/policy/policy_external/include/policy/access_remote_impl.h b/src/components/policy/policy_external/include/policy/access_remote_impl.h
index 032e36e453..14d25a5bd1 100644
--- a/src/components/policy/policy_external/include/policy/access_remote_impl.h
+++ b/src/components/policy/policy_external/include/policy/access_remote_impl.h
@@ -99,7 +99,6 @@ class AccessRemoteImpl : public AccessRemote {
std::vector<std::string>* modules) OVERRIDE;
private:
- typedef std::map<Subject, policy_table::AppHMITypes> HMIList;
inline void set_enabled(bool value);
inline bool country_consent() const;
/**
@@ -140,12 +139,17 @@ class AccessRemoteImpl : public AccessRemote {
*/
bool CompareParameters(const policy_table::Strings& parameters,
RemoteControlParams* input) const;
+
+ /**
+ * @brief cache_ contains pointer to cache manager instance
+ */
utils::SharedPtr<CacheManager> cache_;
- bool enabled_;
- HMIList hmi_types_;
- friend struct Erase;
- friend struct IsTypeAccess;
+ /**
+ * @brief hmi_types_ contains list of default HMI types for applications
+ */
+ typedef std::map<Subject, policy_table::AppHMITypes> HMIList;
+ HMIList hmi_types_;
#ifdef BUILD_TESTS
FRIEND_TEST(AccessRemoteImplTest, KeyMapTest);