summaryrefslogtreecommitdiff
path: root/src/components/include/policy/policy_external/policy/policy_manager.h
diff options
context:
space:
mode:
authorJacob Keeler <jacob.keeler@livioradio.com>2020-08-17 15:54:00 -0400
committerGitHub <noreply@github.com>2020-08-17 15:54:00 -0400
commit4c9f873f1b5f77b8a4076602c2f544809e97a24a (patch)
tree2e212f9c2d0924d84c87ebb8e2c65b832184a2dc /src/components/include/policy/policy_external/policy/policy_manager.h
parentd2202209e499ab2682b1da554d4373b2893b605b (diff)
downloadsdl_core-4c9f873f1b5f77b8a4076602c2f544809e97a24a.tar.gz
Add SubtleAlert RPC (#3459)
* Add SubtleAlert RPC to project * Add OnSubtleAlertPressed implementation * Add `subtle_notifications_per_minute_by_priority` field to policies
Diffstat (limited to 'src/components/include/policy/policy_external/policy/policy_manager.h')
-rw-r--r--src/components/include/policy/policy_external/policy/policy_manager.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/include/policy/policy_external/policy/policy_manager.h b/src/components/include/policy/policy_external/policy/policy_manager.h
index 184b3049f5..3086a7dfb8 100644
--- a/src/components/include/policy/policy_external/policy/policy_manager.h
+++ b/src/components/include/policy/policy_external/policy/policy_manager.h
@@ -488,10 +488,11 @@ class PolicyManager : public usage_statistics::StatisticsManager,
/**
* @brief Get number of notification by priority
* @param priority Specified priority
+ * @param is_subtle If true, get the number of allowed subtle notifications
* @return notification number
*/
- virtual uint32_t GetNotificationsNumber(
- const std::string& priority) const = 0;
+ virtual uint32_t GetNotificationsNumber(const std::string& priority,
+ const bool is_subtle) const = 0;
/**
* @brief Allows to update Vehicle Identification Number in policy table.