diff options
Diffstat (limited to 'src/components/application_manager/include/application_manager/commands/command_impl.h')
-rw-r--r-- | src/components/application_manager/include/application_manager/commands/command_impl.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/components/application_manager/include/application_manager/commands/command_impl.h b/src/components/application_manager/include/application_manager/commands/command_impl.h index a526fede6e..d57568dd6a 100644 --- a/src/components/application_manager/include/application_manager/commands/command_impl.h +++ b/src/components/application_manager/include/application_manager/commands/command_impl.h @@ -145,6 +145,16 @@ class CommandImpl : public Command { */ void SetAllowedToTerminate(const bool allowed) OVERRIDE; + /** + * @brief Calculates command`s internal consecutive number + * for specified application used during resumption. + * This method is called when a new command is added. + * @param[in] app Application for wich a consecutive number is calculated + * @return internal consecutive number + */ + static uint32_t CalcCommandInternalConsecutiveNumber( + application_manager::ApplicationConstSharedPtr app); + // members static const int32_t hmi_protocol_type_; static const int32_t mobile_protocol_type_; |