implemented _set_message_target_()

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11278 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adi Oanca
2005-02-06 20:41:12 +00:00
parent 95883f1638
commit ecb03027eb
+2
View File
@@ -83,6 +83,8 @@ using BPrivate::BLooperList;
port_id _get_looper_port_(const BLooper* looper);
bool _use_preferred_target_(BMessage* msg) { return msg->fPreferred; }
int32 _get_message_target_(BMessage* msg) { return msg->fTarget; }
void _set_message_target_(BMessage* msg, int32 token, bool pref)
{ msg->fTarget = token; msg->fPreferred = pref; }
uint32 BLooper::sLooperID = (uint32)B_ERROR;
team_id BLooper::sTeamID = (team_id)B_ERROR;