2 * Copyright 2001-2007, Ingo Weinhold, bonefish@users.sf.net.
3 * Distributed under the terms of the MIT License.
5 #ifndef ROSTER_APP_INFO_H
6 #define ROSTER_APP_INFO_H
10 enum application_state
{
11 APP_STATE_UNREGISTERED
,
12 APP_STATE_PRE_REGISTERED
,
17 struct RosterAppInfo
: app_info
{
18 application_state state
;
20 // token is meaningful only if state is APP_STATE_PRE_REGISTERED and
22 bigtime_t registration_time
; // time of first addition
25 void Init(thread_id thread
, team_id team
, port_id port
, uint32 flags
,
26 const entry_ref
*ref
, const char *signature
);
28 RosterAppInfo
*Clone() const;
29 bool IsRunning() const;
32 #endif // ROSTER_APP_INFO_H