Interface of the HImManager class. More...
#include "HTools.h"
Go to the source code of this file.
Classes | |
class | HImManager |
The HImManager class serves as a manager for IM callbacks. More... | |
Defines | |
#define | HImRegisterCallback(callback_name, callback_function) |
#define | HImSetCallback(callback_type, callback_name) |
#define | HImSetCallbackByKey(segment_key, callback_type, callback_name) |
#define | HImShowCallback(callback_name, callback_type) |
#define | HImUnSetOneCallback(callback_type) |
#define | HImUnSetOneCallbackByKey(segment_key, callback_type) |
Interface of the HImManager class.
Defines the HImManager class along with macros for registering, setting and unsetting callbacks
#define HImRegisterCallback | ( | callback_name, | |
callback_function | |||
) |
do{ (HImManager::GetCurrentHImManager())->RegisterOneCallback( \ (const char *)callback_name, (void*)callback_function); }while(0);
This method associates a name with a function pointer.
#define HImSetCallback | ( | callback_type, | |
callback_name | |||
) |
do{ (HImManager::GetCurrentHImManager())->SetCallback( \ (const char *)callback_type, (const char *)callback_name); }while(0);
This method associates a callback type with a registered callback function name in the currently open segment.
#define HImSetCallbackByKey | ( | segment_key, | |
callback_type, | |||
callback_name | |||
) |
do{ (HImManager::GetCurrentHImManager())->SetCallback( \ segment_key, (const char *)callback_type, (const char *)callback_name); }while(0);
This method associates a callback type with a registered callback function name in the segment specified by segment_key.
#define HImShowCallback | ( | callback_name, | |
callback_type | |||
) |
do{ (HImManager::GetCurrentHImManager())->ShowCallback( \ (const char *)callback_name, (char *)callback_type); }while(0);
This method writes the name of the callback_type assocation into the callback_name in the currently open segment.
#define HImUnSetOneCallback | ( | callback_type | ) |
do{ (HImManager::GetCurrentHImManager())->UnSetOneCallback( \ callback_type); }while(0);
This method removes a callback assocation in the currently open segment.
#define HImUnSetOneCallbackByKey | ( | segment_key, | |
callback_type | |||
) |
do{ (HImManager::GetCurrentHImManager())->UnSetOneCallback( \ segment_key, (const char *)callback_type); }while(0);
This method removes the callback assocation in a segment specified by segment_key.