Implemented BRoster::FindApp() and a bunch of helper functions needed for it. Tweaked some of the helpers signatures.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1110 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2002-09-22 00:12:56 +00:00
parent 8f13f87bf7
commit 92a1f24167
2 changed files with 534 additions and 16 deletions
+4 -5
View File
@@ -192,12 +192,11 @@ private:
entry_ref *appRef, char *appSig, uint32 *appFlags,
bool *wasDocument) const;
status_t translate_ref(const entry_ref *ref, BMimeType *appMeta,
entry_ref *appRef, BFile *appFile, char *appSig,
entry_ref *appRef, BFile *appFile,
bool *wasDocument) const;
status_t translate_type(const char *mimeType, BMimeType *meta,
entry_ref *appRef, BFile *appFile,
char *appSig) const;
status_t sniff_file(const entry_ref *file, BNodeInfo *finfo,
status_t translate_type(const char *mimeType, BMimeType *appMeta,
entry_ref *appRef, BFile *appFile) const;
status_t sniff_file(const entry_ref *file, BNodeInfo *nodeInfo,
char *mimeType) const;
bool is_wildcard(const char *sig) const;
status_t get_unique_supporting_app(const BMessage *apps,