diff --git a/src/kits/storage/AppFileInfo.cpp b/src/kits/storage/AppFileInfo.cpp index ea29e28d80..d1738e8bf3 100644 --- a/src/kits/storage/AppFileInfo.cpp +++ b/src/kits/storage/AppFileInfo.cpp @@ -1,6 +1,6 @@ //---------------------------------------------------------------------- -// This software is part of the OpenBeOS distribution and is covered -// by the OpenBeOS license. +// This software is part of the Haiku distribution and is covered +// by the MIT license. //--------------------------------------------------------------------- /*! \file AppFileInfo.cpp @@ -52,6 +52,14 @@ enum { B_VERSION_INFO_TYPE = 'APPV', }; +// R5 also exports these (Tracker is using them): +// (maybe we better want to drop them silently and declare +// the above in a public Haiku header - and use that one in +// Tracker when compiled for Haiku) +extern const uint32 MINI_ICON_TYPE, LARGE_ICON_TYPE; +const uint32 MINI_ICON_TYPE = 'MICN'; +const uint32 LARGE_ICON_TYPE = 'ICON'; + // debugging //#define DBG(x) x #define DBG(x) diff --git a/src/kits/storage/NodeInfo.cpp b/src/kits/storage/NodeInfo.cpp index b5fe2621ce..d7f7fc7824 100644 --- a/src/kits/storage/NodeInfo.cpp +++ b/src/kits/storage/NodeInfo.cpp @@ -1,6 +1,6 @@ //---------------------------------------------------------------------- -// This software is part of the OpenBeOS distribution and is covered -// by the OpenBeOS license. +// This software is part of the Haiku distribution and is covered +// by the MIT license. //--------------------------------------------------------------------- /*! \file NodeInfo.cpp @@ -769,3 +769,18 @@ BNodeInfo::BNodeInfo(const BNodeInfo &) { } + +// #pragma mark - + +namespace BPrivate { + +extern bool +CheckNodeIconHintPrivate(const BNode *node, bool whatever) +{ + // I've no idea what this is supposed to do exactly, but + // it seems to tell Tracker if there is an icon for the + // node. See kits/tracker/Model.cpp for details + return true; +} + +} // namespace BPrivate