diff options
Diffstat (limited to 'src/components/application_manager/include/application_manager/commands/mobile/subscribe_button_request.h')
-rw-r--r-- | src/components/application_manager/include/application_manager/commands/mobile/subscribe_button_request.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/components/application_manager/include/application_manager/commands/mobile/subscribe_button_request.h b/src/components/application_manager/include/application_manager/commands/mobile/subscribe_button_request.h index 3e0cc2cea..12168e247 100644 --- a/src/components/application_manager/include/application_manager/commands/mobile/subscribe_button_request.h +++ b/src/components/application_manager/include/application_manager/commands/mobile/subscribe_button_request.h @@ -76,9 +76,21 @@ class SubscribeButtonRequest : public CommandRequestImpl { * * @return TRUE on success, otherwise false **/ - bool IsSubscribtionAllowed(ApplicationSharedPtr app, + bool IsSubscriptionAllowed(ApplicationSharedPtr app, const mobile_apis::ButtonName::eType btn_id); + /** + * @brief Sends ButtonSubscription notification + * to notify HMI that app subscribed on the button. + */ + void SendSubscribeButtonNotification(); + + /** + * @brief Checks HMI capabilities for specified button support + * @param button Button to check + */ + bool CheckHMICapabilities(mobile_apis::ButtonName::eType button); + DISALLOW_COPY_AND_ASSIGN(SubscribeButtonRequest); }; |