_get_object_token_ has found its permanent home in AppMisc.h, which the
other files were modified to include. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2957 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#ifndef _APP_MISC_H
|
||||
#define _APP_MISC_H
|
||||
|
||||
#include <Handler.h>
|
||||
#include <OS.h>
|
||||
#include <SupportDefs.h>
|
||||
|
||||
@@ -42,4 +43,14 @@ thread_id main_thread_for(team_id team);
|
||||
|
||||
} // namespace BPrivate
|
||||
|
||||
// _get_object_token_
|
||||
/*! Return the token of a BHandler.
|
||||
|
||||
\param handler The BHandler.
|
||||
\return the token.
|
||||
|
||||
*/
|
||||
inline int32 _get_object_token_(const BHandler* object)
|
||||
{ return object->fToken; }
|
||||
|
||||
#endif // _APP_MISC_H
|
||||
|
||||
Reference in New Issue
Block a user