2 * Copyright 2002, Marcus Overhagen. All rights reserved.
3 * Distributed under the terms of the MIT License.
12 #include <Messenger.h>
15 class AppManager
: BLocker
{
20 status_t
RegisterTeam(team_id team
,
21 const BMessenger
& messenger
);
22 status_t
UnregisterTeam(team_id team
);
23 bool HasTeam(team_id team
);
25 team_id
AddOnServerTeam();
27 status_t
SendMessage(team_id team
, BMessage
* message
);
34 void _CleanupTeam(team_id team
);
37 typedef std::map
<team_id
, BMessenger
> AppMap
;
43 #endif // APP_MANAGER_H