[core] [oils] [libraries] [C++ messages] [coding guidelines] | [up to overview ] |
#include <msg/display/mkeyDisplayStatus.h>
mkeyDisplayStatus (int id, status s, const string &msg);
This message is send by the display when it's changed status. It is keyed with the display id and contains aconst string &msg
member with a message that can be displayed to the user. It also contains astatus stat
member indication the status.status
is a enum typedef that can have the following values:
- OVERLINK
- The mouse is currently on top of a link.
msg
contains the url.- LEFTLINK
- The mouse is no longer on top of the link.
msg
contains one single space to clear the status line.
InterestByKey*interestDispStatus; interestDispStatus = new InterestByKey ( this,&Browser::GotoURLMess); interestDispStatus->AddKey(connNewId); int Browser::DispStatusMess(mkeyDisplayStatus &m) { if (m.stat != mkeyDisplayStatus::LEFTLINK) cout <<"Display: "<<m.msg<<endl; return 0; }