IDA C++ SDK 9.2
Loading...
Searching...
No Matches
Functions: add-ons

Convenience functions for ui_addons. More...

Functions

int register_addon (const addon_info_t *info)
 Register an add-on.
int addon_count ()
 Get number of installed addons.
bool get_addon_info (const char *id, addon_info_t *info)
 Get info about a registered addon with a given product code.
bool get_addon_info_idx (int index, addon_info_t *info)
 Get info about a registered addon with specific index.

Detailed Description

Convenience functions for ui_addons.

Function Documentation

◆ register_addon()

int register_addon ( const addon_info_t * info)
inline

Register an add-on.

Show its info in the About box. For plugins, should be called from init() function (repeated calls with the same product code overwrite previous entries) returns: index of the add-on in the list, or -1 on error

◆ addon_count()

int addon_count ( )
inline

Get number of installed addons.

◆ get_addon_info()

bool get_addon_info ( const char * id,
addon_info_t * info )
inline

Get info about a registered addon with a given product code.

info->cb must be valid! NB: all pointers are invalidated by next call to register_addon or get_addon_info

Returns
false if not found

◆ get_addon_info_idx()

bool get_addon_info_idx ( int index,
addon_info_t * info )
inline

Get info about a registered addon with specific index.

info->cb must be valid! NB: all pointers are invalidated by next call to register_addon or get_addon_info

Returns
false if index is out of range