Beispiel #1
0
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;
}
Beispiel #2
0
extc void _export cdecl IMMDBG_Pluginaction(int origin,
										  int action,
										  void *item)
{
	ODBG_Pluginaction(origin, action, item);
}