_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:
ejakowatz
2003-03-19 08:00:50 +00:00
parent edfec36839
commit 2be975a1ee
4 changed files with 14 additions and 50 deletions
+11
View File
@@ -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