diff options
| author | Brian Potchik <brian@vector35.com> | 2025-03-06 19:54:50 -0500 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2025-03-06 19:54:50 -0500 |
| commit | ef97d4703cfd08a4ccc3c00dac7cf84877875245 (patch) | |
| tree | d8687be219e325cd619ada7acfaf694a6627af1c /binaryninjaapi.h | |
| parent | 5192206454838298978583761915446906174711 (diff) | |
Add API to insert Activities after a specified Activity.
Diffstat (limited to 'binaryninjaapi.h')
| -rw-r--r-- | binaryninjaapi.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h index a0ad6980..08e3feb5 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -10213,6 +10213,22 @@ namespace BinaryNinja { */ bool Insert(const std::string& activity, const std::vector<std::string>& activities); + /*! Insert an activity after the specified activity and at the same level. + + \param activity Name of the activity to insert the new one after + \param newActivity Name of the new activity to be inserted + \return true on success, false otherwise + */ + bool InsertAfter(const std::string& activity, const std::string& newActivity); + + /*! Insert a list of activities after the specified activity and at the same level. + + \param activity Name of the activity to insert the new one after + \param newActivity Name of the new activities to be inserted + \return true on success, false otherwise + */ + bool InsertAfter(const std::string& activity, const std::vector<std::string>& activities); + /*! Remove an activity by name \param activity Name of the activity to remove |
