diff options
author | okozlovlux <okozlov@luxoft.com> | 2017-05-05 14:47:02 +0300 |
---|---|---|
committer | okozlovlux <okozlov@luxoft.com> | 2017-05-17 20:19:20 +0300 |
commit | 6442b8adb6b4557d0df437b7517fb2bd4433eb80 (patch) | |
tree | 06cbe4561178f78b09a726cf848017540e82685e /src/components/include/policy/policy_external/policy/policy_listener.h | |
parent | b4c332fa89762544de9ed80d4fd21766981f7739 (diff) | |
download | sdl_core-6442b8adb6b4557d0df437b7517fb2bd4433eb80.tar.gz |
Add missing functionality fo policies
Fix failed UTs
Diffstat (limited to 'src/components/include/policy/policy_external/policy/policy_listener.h')
-rw-r--r-- | src/components/include/policy/policy_external/policy/policy_listener.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/components/include/policy/policy_external/policy/policy_listener.h b/src/components/include/policy/policy_external/policy/policy_listener.h index 82dd26a6f7..f3388beb95 100644 --- a/src/components/include/policy/policy_external/policy/policy_listener.h +++ b/src/components/include/policy/policy_external/policy/policy_listener.h @@ -52,6 +52,12 @@ class PolicyListener { const Permissions& permissions) = 0; virtual void OnPendingPermissionChange(const std::string& policy_app_id) = 0; virtual void OnUpdateStatusChanged(const std::string&) = 0; + /** + * Gets device ID + * @param policy_app_id + * @return device ID + * @deprecated see std::vector<std::string> GetDevicesIds(const std::string&) + */ virtual std::string OnCurrentDeviceIdUpdateRequired( const std::string& policy_app_id) = 0; virtual void OnSystemInfoUpdateRequired() = 0; @@ -115,6 +121,14 @@ class PolicyListener { virtual void OnCertificateUpdated(const std::string& certificate_data) = 0; /** + * @brief OnPTUFinishedd the callback which signals PTU has finished + * + * @param ptu_result the result from the PTU - true if successful, + * otherwise false. + */ + virtual void OnPTUFinished(const bool ptu_result) = 0; + + /** * @brief Collects currently registered applications ids linked to their * device id * @return Collection of device_id-to-app_id links |