Added some compatibility exports for libtracker.so; not yet sure if we

will keep those two, though, as I don't think they are widely used.
Note, BPrivate::CheckNodeIconHintPrivate() is not implemented.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12769 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2005-05-22 23:52:28 +00:00
parent bad54f6fa4
commit 88706bbe11
2 changed files with 27 additions and 4 deletions

View File

@ -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)

View File

@ -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