Searched refs:GetPreferredApp (Results 1 - 25 of 30) sorted by relevance

12

/haiku/headers/build/os/storage/
H A DNodeInfo.h58 status_t GetPreferredApp(char *signature,
/haiku/headers/os/storage/
H A DNodeInfo.h41 status_t GetPreferredApp(char* signature,
H A DMimeType.h101 status_t GetPreferredApp(char* signature, app_verb verb = B_OPEN) const;
/haiku/src/preferences/filetypes/
H A DPreferredAppMenu.cpp104 if (type->GetPreferredApp(preferred) != B_OK)
228 if (nodeInfo.GetPreferredApp(preferred) != B_OK)
236 mimeType.GetPreferredApp(preferred);
H A DFileTypeWindow.cpp220 if (info.GetPreferredApp(preferredApp) != B_OK)
H A DIconView.cpp60 if (type.GetPreferredApp(preferred) == B_OK) {
78 if (superType.GetPreferredApp(preferred) == B_OK) {
113 if (type.GetPreferredApp(preferred) == B_OK) {
131 if (superType.GetPreferredApp(preferred) == B_OK) {
H A DMimeTypeListView.cpp31 return type.GetPreferredApp(preferredApp) == B_OK
/haiku/src/tests/kits/storage/testapps/
H A Ddump_mime_types.cpp43 if (mimeType.GetPreferredApp(preferredApp) == B_OK)
/haiku/headers/private/storage/mime/
H A DDatabaseLocation.h90 status_t GetPreferredApp(const char* type,
/haiku/src/kits/tracker/
H A DMimeTypeList.cpp53 if (mimeType.GetPreferredApp(buffer) == B_OK
H A DModel.cpp629 if (info.GetPreferredApp(type) == B_OK) {
920 && info.GetPreferredApp(type) == B_OK) {
1479 err = nodeInfo.GetPreferredApp(preferredApp);
1500 err = mimeType.GetPreferredApp(preferredApp);
H A DOpenWithWindow.h87 bool GetPreferredApp(entry_ref* ref) const;
H A DOpenWithWindow.cpp671 fHaveCommonPreferredApp = fIterator->GetPreferredApp(&fPreferredRef);
1163 fHaveCommonPreferredApp = fIterator->GetPreferredApp(&fPreferredRef);
1469 SearchForSignatureEntryList::GetPreferredApp(entry_ref* ref) const function in class:SearchForSignatureEntryList
H A DTrackerInitialState.cpp278 || mime.GetPreferredApp(tmp) != B_OK))) {
H A DIconCache.cpp428 if (mime.GetPreferredApp(preferredAppSig) != B_OK)
1170 status_t result = mime.GetPreferredApp(preferredAppSig);
/haiku/src/tests/kits/storage/
H A DNodeInfoTest.cpp598 // status_t GetPreferredApp(char *signature, app_verb verb = B_OPEN) const
605 CHK(equals(nodeInfo.GetPreferredApp(NULL), B_BAD_ADDRESS,
613 CHK(nodeInfo.GetPreferredApp(signature) == B_NO_INIT);
622 CHK(nodeInfo.GetPreferredApp(signature) == B_ENTRY_NOT_FOUND);
634 CHK(nodeInfo.GetPreferredApp(signature) == B_OK);
640 CHK(nodeInfo.GetPreferredApp(signature) == B_OK);
655 CHK(nodeInfo.GetPreferredApp(signature) == B_ENTRY_NOT_FOUND);
673 CHK(nodeInfo.GetPreferredApp(signature) == B_OK);
689 CHK(nodeInfo.GetPreferredApp(signature) == B_ENTRY_NOT_FOUND);
H A DMimeTypeTest.cpp2018 CPPUNIT_ASSERT(mime.GetPreferredApp(str) != B_OK); // R5 == B_BAD_VALUE
2030 CHK(mime.GetPreferredApp(str) != B_OK); // R5 == B_ENTRY_NOT_FOUND
2034 CHK(mime.GetPreferredApp(str) == B_OK);
2047 CHK(mime.GetPreferredApp(NULL) != B_OK); // R5 == B_ENTRY_NOT_FOUND
2051 CHK(mime.GetPreferredApp(str) == B_ENTRY_NOT_FOUND);
2054 CHK(mime.GetPreferredApp(NULL) != B_OK); // Haiku == B_BAD_VALUE
2061 CHK(mime.GetPreferredApp(str) == B_OK);
2066 CHK(mime.GetPreferredApp(str) != B_OK); // Haiku == B_ENTRY_NOT_FOUND
2080 CHK(mime.GetPreferredApp(NULL) != B_OK); // R5 == B_BAD_ADDRESS
2082 CHK(mime.GetPreferredApp(NUL
[all...]
/haiku/src/kits/storage/
H A DNodeInfo.cpp306 BNodeInfo::GetPreferredApp(char* signature, app_verb verb) const function in class:BNodeInfo
521 if (GetPreferredApp(signature) == B_OK) {
534 if (!success && nodeType.GetPreferredApp(signature) == B_OK) {
550 if (superType.GetPreferredApp(signature) == B_OK) {
H A DMimeType.cpp352 BMimeType::GetPreferredApp(char* signature, app_verb verb) const function in class:BMimeType
356 err = default_database_location()->GetPreferredApp(Type(), signature,
/haiku/src/build/libbe/storage/
H A DNodeInfo.cpp378 // GetPreferredApp
397 BNodeInfo::GetPreferredApp(char *signature, app_verb verb) const function in class:BNodeInfo
664 if (GetPreferredApp(signature) == B_OK) {
682 // if (nodeType.GetPreferredApp(signature) == B_OK) {
/haiku/src/apps/diskusage/
H A DPieView.cpp639 if (type->GetPreferredApp(appSignature) == B_OK)
/haiku/src/kits/app/
H A DRoster.cpp2295 if (!isDocument || appFileInfo.GetPreferredApp(preferredApp) != B_OK) {
2319 if (nodeInfo.GetPreferredApp(preferredApp) == B_OK
2389 superType.GetPreferredApp(secondarySignature);
2391 if (type.GetPreferredApp(primarySignature) != B_OK) {
/haiku/src/kits/storage/mime/
H A DDatabaseLocation.cpp685 DatabaseLocation::GetPreferredApp(const char* type, char* signature, function in class:BPrivate::Storage::Mime::DatabaseLocation
/haiku/src/kits/support/
H A DUrl.cpp712 mime.GetPreferredApp(appSignature.LockBuffer(B_MIME_TYPE_LENGTH));
/haiku/src/tests/kits/app/broster/
H A DFindAppTester.cpp487 = (textType.GetPreferredApp(preferredApp) == B_OK);

Completed in 177 milliseconds

12