Add BMessenger::HashValue()
This commit is contained in:
parent
cb4a05cfdf
commit
3e8daeb7bc
@ -57,6 +57,8 @@ public:
|
||||
bool IsValid() const;
|
||||
team_id Team() const;
|
||||
|
||||
uint32 HashValue() const;
|
||||
|
||||
//----- Private or reserved -----------------------------------------
|
||||
|
||||
class Private;
|
||||
|
@ -504,6 +504,13 @@ BMessenger::Team() const
|
||||
}
|
||||
|
||||
|
||||
uint32
|
||||
BMessenger::HashValue() const
|
||||
{
|
||||
return fPort * 19 + fHandlerToken;
|
||||
}
|
||||
|
||||
|
||||
// #pragma mark - Private or reserved
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user