Some correction.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@673 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
235efd8700
commit
0f4210a2a3
|
@ -26,7 +26,7 @@ case 2: signature is not NULL, but no app with this signature is running =>
|
|||
Should return B_ERROR.
|
||||
case 3: signature is not NULL and an (two) app(s) with this signature is (are)
|
||||
running; quit one; quit the second one =>
|
||||
Should return the ID of one of the teams; the ID of the second teams;
|
||||
Should return the ID of one of the teams; the ID of the second team;
|
||||
B_ERROR.
|
||||
|
||||
team_id TeamFor(entry_ref *ref) const
|
||||
|
@ -36,7 +36,7 @@ case 2: ref is not NULL, but no app with this ref is running =>
|
|||
Should return B_ERROR.
|
||||
case 3: ref is not NULL and an (two) app(s) with this ref is (are)
|
||||
running; quit one; quit the second one =>
|
||||
Should return the ID of one of the teams; the ID of the second teams;
|
||||
Should return the ID of one of the teams; the ID of the second team;
|
||||
B_ERROR.
|
||||
|
||||
status_t GetAppInfo(const char *signature, app_info *info) const
|
||||
|
@ -68,23 +68,23 @@ status_t GetRunningAppInfo(team_id team, app_info *info) const
|
|||
case 1: info is NULL =>
|
||||
Should return B_BAD_VALUE.
|
||||
case 2: info is not NULL, but no app with the team ID is running =>
|
||||
Should return B_BAD_TEAM_ID.
|
||||
Should return B_BAD_TEAM_ID, if team >= 0, B_ERROR otherwise.
|
||||
case 3: info is not NULL, and an app with the team ID is running =>
|
||||
Should fill the app info and return B_OK.
|
||||
|
||||
void GetAppList(BList *teamIDList) const
|
||||
case 1: teamIDList is NULL =>
|
||||
Should return B_BAD_VALUE.
|
||||
Should do nothing.
|
||||
case 2: teamIDList is not NULL and not empty =>
|
||||
Should append the team IDs of all running apps to teamIDList.
|
||||
|
||||
void GetAppList(const char *signature, BList *teamIDList) const
|
||||
case 1: signature or teamIDList are NULL =>
|
||||
Should return B_BAD_VALUE.
|
||||
Should do nothing/should not modify teamIDList.
|
||||
case 2: teamIDList is not NULL and not empty, signature is not NULL, but no
|
||||
app with this signature is running =>
|
||||
Should not modify teamIDList.
|
||||
case 3: teamIDList is not NULL and not empty, signature is not NULL, but no
|
||||
app with this signature is running =>
|
||||
case 3: teamIDList is not NULL and not empty, signature is not NULL and
|
||||
app(s) with this signature is (are) running =>
|
||||
Should append the team IDs of all running apps with the supplied
|
||||
signature to teamIDList.
|
||||
|
|
Loading…
Reference in New Issue