No more B_MESSAGE_NOT_UNDERSTOOD messages for standard messages.
Added another ToDo item about missing filtering. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12734 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
7a2b05c5ad
commit
04dc040e40
@ -315,12 +315,13 @@ BHandler::MessageReceived(BMessage *message)
|
||||
}
|
||||
}
|
||||
|
||||
// ToDo: there is some more work need here (someone in the know should fill in)!
|
||||
// ToDo: there is some more work needed here (someone in the know should fill in)!
|
||||
|
||||
if (fNextHandler) {
|
||||
// aren't filters done per handler?
|
||||
// ToDo: take the handler's message filter into account!
|
||||
fNextHandler->MessageReceived(message);
|
||||
} else if (message->what != B_MESSAGE_NOT_UNDERSTOOD) {
|
||||
} else if (message->what != B_MESSAGE_NOT_UNDERSTOOD
|
||||
&& (message->WasDropped() || message->HasSpecifiers())) {
|
||||
printf("BHandler::MessageReceived(): B_MESSAGE_NOT_UNDERSTOOD");
|
||||
message->PrintToStream();
|
||||
message->SendReply(B_MESSAGE_NOT_UNDERSTOOD);
|
||||
|
Loading…
Reference in New Issue
Block a user