Public Member Functions | |
| int | visID () const |
| bool | isHandled () const |
| void | setHandled (bool) |
Public Attributes | |
| Notifier< UserActionHandler > | createnotifier |
| CNotifier< UserActionHandler, int > | handlenotifier |
Protected Member Functions | |
| UserActionHandler (int visid) | |
| int | getFreeID () |
Protected Attributes | |
| int | freeid_ |
| int | visid_ |
| bool | ishandled_ |
| UserActionHandler::UserActionHandler | ( | int | visid | ) | [protected] |
| int UserActionHandler::getFreeID | ( | ) | [protected] |
| bool UserActionHandler::isHandled | ( | ) | const |
Should be called as the first thing from callbacks that is triggered from handlenotifier. If isHandled() returns true, the callback should return immediately.
| void UserActionHandler::setHandled | ( | bool | ) |
Should be called from callbacks that are triggered from handlenotifier if they have found the menu id they are looking for.
| int UserActionHandler::visID | ( | ) | const |
int UserActionHandler::freeid_ [protected] |
bool UserActionHandler::ishandled_ [protected] |
int UserActionHandler::visid_ [protected] |
1.7.1