From 9b66380776a3543e4b9da64fbeba21642357530b Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Mon, 7 Oct 2002 21:50:24 +0000 Subject: [PATCH] Changed SetSignature() return value from void to status_t. resolve_app() and translate_ref() do now set the supplied ref to the resulting one when traversing a link. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1433 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/app/Roster.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/headers/os/app/Roster.h b/headers/os/app/Roster.h index b93c4ff0a0..3fb673c665 100644 --- a/headers/os/app/Roster.h +++ b/headers/os/app/Roster.h @@ -179,7 +179,7 @@ private: uint32 flags, team_id team, thread_id thread, port_id port, bool fullReg, uint32 *token, team_id *otherTeam) const; - void SetSignature(team_id team, const char *mimeSig) const; + status_t SetSignature(team_id team, const char *mimeSig) const; void SetThread(team_id team, thread_id thread) const; status_t SetThreadAndTeam(uint32 entryToken, thread_id thread, team_id team) const; @@ -197,10 +197,10 @@ private: bool UpdateActiveApp(team_id team) const; void SetAppFlags(team_id team, uint32 flags) const; void DumpRoster() const; - status_t resolve_app(const char *inType, const entry_ref *ref, + status_t resolve_app(const char *inType, entry_ref *ref, entry_ref *appRef, char *appSig, uint32 *appFlags, bool *wasDocument) const; - status_t translate_ref(const entry_ref *ref, BMimeType *appMeta, + status_t translate_ref(entry_ref *ref, BMimeType *appMeta, entry_ref *appRef, BFile *appFile, bool *wasDocument) const; status_t translate_type(const char *mimeType, BMimeType *appMeta,