summaryrefslogtreecommitdiff
path: root/src/components/policy/src/policy/include/policy/pt_representation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/policy/src/policy/include/policy/pt_representation.h')
-rw-r--r--src/components/policy/src/policy/include/policy/pt_representation.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/components/policy/src/policy/include/policy/pt_representation.h b/src/components/policy/src/policy/include/policy/pt_representation.h
index 6aa9bf86d..be79857a9 100644
--- a/src/components/policy/src/policy/include/policy/pt_representation.h
+++ b/src/components/policy/src/policy/include/policy/pt_representation.h
@@ -84,6 +84,7 @@ class PTRepresentation {
*/
virtual bool IsPTPreloaded() = 0;
+ virtual bool RefreshDB() = 0;
/**
* Gets number of ignition cycles before next update policy table
* @return number of ignition cycles
@@ -167,13 +168,6 @@ class PTRepresentation {
virtual EndpointUrls GetUpdateUrls(int service_type) = 0;
/**
- * @brief GetLockScreenIcon allows to obtain lock screen icon url;
- *
- * @return url which point to the resourse where lock screen icon could be obtained.
- */
- virtual std::string GetLockScreenIconUrl() const = 0;
-
- /**
* @brief Get allowed number of notifications
* depending on application priority.
* @param priority Priority of application
@@ -300,6 +294,8 @@ class PTRepresentation {
bool is_revoked,
bool is_default,
bool is_predata) = 0;
+
+ virtual void WriteDb() = 0;
};
} // namespace policy