diff --git a/src/kits/tracker/TrackerInitialState.cpp b/src/kits/tracker/TrackerInitialState.cpp index f4e1c1847d..78a7326651 100644 --- a/src/kits/tracker/TrackerInitialState.cpp +++ b/src/kits/tracker/TrackerInitialState.cpp @@ -138,6 +138,7 @@ const AttributeTemplate kDefaultQueryTemplate[] = } }; + const AttributeTemplate kBookmarkQueryTemplate[] = /* /boot/home/config/settings/Tracker/DefaultQueryTemplates/ application_x-vnd.Be-bookmark */ @@ -173,6 +174,7 @@ const AttributeTemplate kBookmarkQueryTemplate[] = } }; + const AttributeTemplate kPersonQueryTemplate[] = /* /boot/home/config/settings/Tracker/DefaultQueryTemplates/ application_x-vnd.Be-bookmark */ @@ -210,6 +212,7 @@ const AttributeTemplate kPersonQueryTemplate[] = }, }; + const AttributeTemplate kEmailQueryTemplate[] = /* /boot/home/config/settings/Tracker/DefaultQueryTemplates/ text_x-email */ @@ -269,6 +272,9 @@ public: } // namespace BPrivate +// #pragma mark - ExtraAttributeLazyInstaller + + ExtraAttributeLazyInstaller::ExtraAttributeLazyInstaller(const char* type) : fMimeType(type), @@ -317,7 +323,7 @@ ExtraAttributeLazyInstaller::AddExtraAttribute(const char* publicName, } -// #pragma mark - +// #pragma mark - static functions static void @@ -332,6 +338,7 @@ InstallTemporaryBackgroundImages(BNode* node, BMessage* message) (size_t)size); delete[] buffer; } catch (...) { + ; } } @@ -349,12 +356,13 @@ AddTemporaryBackgroundImages(BMessage* message, const char* imagePath, } -// #pragma mark - +// #pragma mark - TrackerInitialState #undef B_TRANSLATION_CONTEXT #define B_TRANSLATION_CONTEXT "TrackerInitialState" + bool TTracker::InstallMimeIfNeeded(const char* type, int32 bitsID, const char* shortDescription, const char* longDescription,