FindApp
status_t FindApp(const char *mimeType, entry_ref *app) const;
status_t FindApp(entry_ref *ref, entry_ref *app) const;
status_t FindApp(const char* mimeType,
status_t FindApp(entry_ref* ref, entry_ref* app) const;
roster.FindApp(APP_SIG, &ref);
err = be_roster->FindApp(addon_host::g_appSignature, &appRef);
status = roster.FindApp(signature, &ref);
status_t status = be_roster->FindApp(kSignature, &appRef);
if (be_roster->FindApp(appSig, &fAppRef) == B_NO_ERROR) {
if (be_roster->FindApp(fAppSig, &ref) == B_OK)
if (be_roster->FindApp(handlerToLaunch, &appRef) != B_OK)
be_roster->FindApp (fSignature, &ref);
if (be_roster->FindApp(fAppSig, &ref) == B_OK)
if (be_roster->FindApp(editorSig, &editor) != B_OK)
be_roster->FindApp(kSignature, &ref);
if (be_roster->FindApp(argv[i], &ref) != B_OK) {
if (be_roster->FindApp(signature, &ref) != B_OK)
if (be_roster->FindApp(signature, &ref) != B_OK)
status = roster.FindApp(signature, &catalogRef);
err = Roster.FindApp(signature, &ref);
error = be_roster->FindApp(&documentRef, &app);
error = be_roster->FindApp(type.Type(), &app);
if (be_roster->FindApp(model.PreferredAppSignature(), &preferredRef)
if (be_roster->FindApp(mimeType.String(), &preferredRef) == B_OK)
err = be_roster->FindApp(signature, &entry);
if (be_roster->FindApp(fCurrentType.Type(), &ref) == B_OK) {
if (fIcon == NULL && be_roster->FindApp(mimeType.String(), &ref) == B_OK) {
status_t status = roster.FindApp(B_MAIL_DAEMON_SIGNATURE, &ref);
&& be_roster->FindApp(fNotification->OnClickApp(), &appRef)
&& be_roster->FindApp(
ServerApp* FindApp(const char *sig);
CHK(roster.FindApp((const char*)NULL, NULL) == B_BAD_VALUE);
CHK(roster.FindApp("image/gif", NULL) == B_BAD_VALUE);
CHK(roster.FindApp((const char*)NULL, &ref) == B_BAD_VALUE);
CHK(roster.FindApp("invalid/mine/type", &ref) == B_BAD_VALUE);
return roster.FindApp(type, ref);
CHK(roster.FindApp((entry_ref*)NULL, NULL) == B_BAD_VALUE);
CHK(roster.FindApp(&fileRef, NULL) == B_BAD_VALUE);
CHK(roster.FindApp((entry_ref*)NULL, &ref) == B_BAD_VALUE);
CHK(roster.FindApp(&fileRef, &ref) == B_ENTRY_NOT_FOUND);
CHK(roster.FindApp(&fileRef, &ref) == B_LAUNCH_FAILED_APP_IN_TRASH);
CHK(roster.FindApp(&fileRef, &ref) == B_OK);
CHK(roster.FindApp(&fileRef, &ref) == B_OK);
CHK(roster.FindApp(&fileRef, &ref) == B_OK);
CHK(roster.FindApp(&fileRef, &ref) == B_OK);
CHK(roster.FindApp(&linkRef, &ref) == B_OK);
return roster.FindApp(&fileRef, ref);
return roster.FindApp(&fileRef, ref);
CHK(roster.FindApp(&linkRef, &ref) == B_LAUNCH_FAILED_NO_RESOLVE_LINK);
CHK(roster.FindApp(&linkRef, &ref) == B_LAUNCH_FAILED_NO_RESOLVE_LINK);