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
This commit is contained in:
@@ -179,7 +179,7 @@ private:
|
|||||||
uint32 flags, team_id team, thread_id thread,
|
uint32 flags, team_id team, thread_id thread,
|
||||||
port_id port, bool fullReg, uint32 *token,
|
port_id port, bool fullReg, uint32 *token,
|
||||||
team_id *otherTeam) const;
|
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;
|
void SetThread(team_id team, thread_id thread) const;
|
||||||
status_t SetThreadAndTeam(uint32 entryToken, thread_id thread,
|
status_t SetThreadAndTeam(uint32 entryToken, thread_id thread,
|
||||||
team_id team) const;
|
team_id team) const;
|
||||||
@@ -197,10 +197,10 @@ private:
|
|||||||
bool UpdateActiveApp(team_id team) const;
|
bool UpdateActiveApp(team_id team) const;
|
||||||
void SetAppFlags(team_id team, uint32 flags) const;
|
void SetAppFlags(team_id team, uint32 flags) const;
|
||||||
void DumpRoster() 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,
|
entry_ref *appRef, char *appSig, uint32 *appFlags,
|
||||||
bool *wasDocument) const;
|
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,
|
entry_ref *appRef, BFile *appFile,
|
||||||
bool *wasDocument) const;
|
bool *wasDocument) const;
|
||||||
status_t translate_type(const char *mimeType, BMimeType *appMeta,
|
status_t translate_type(const char *mimeType, BMimeType *appMeta,
|
||||||
|
|||||||
Reference in New Issue
Block a user