int _export cdecl ODBG_Pluginshortcut(int origin, int ctrl, int alt, int shift, int key, void* item) { if (origin == PM_MAIN) { if (ctrl && shift && key == 'I') { ODBG_Pluginaction(origin, ACTION_IMPORT, NULL); } else if (ctrl && shift && key == 'M') { ODBG_Pluginaction(origin, ACTION_OPTIONS, NULL); } } return origin; }
extc void _export cdecl IMMDBG_Pluginaction(int origin, int action, void *item) { ODBG_Pluginaction(origin, action, item); }