* added functions to improve binary compatibility with old apps

-> Guido (for which there is source available though) is now
  running fine on Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16860 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2006-03-22 20:33:02 +00:00
parent 2a898ff7a5
commit 2297a36b5b
2 changed files with 22 additions and 0 deletions
+10
View File
@@ -1081,6 +1081,16 @@ BRoster::Launch(const entry_ref *ref, int argc, const char * const *args,
return _LaunchApp(NULL, ref, NULL, argc, args, appTeam);
}
// TODO: just here for providing binary compatibility
// (for example "Guido" needs this)
extern "C"
status_t
Launch__C7BRosterP9entry_refP8BMessagePl(BRoster *roster,
entry_ref* ref,
BMessage* initialMessage)
{
return roster->BRoster::Launch(ref, initialMessage, NULL);
}
// #pragma mark - Recent document and app support
+12
View File
@@ -760,6 +760,18 @@ BNodeInfo::GetTrackerIcon(const entry_ref *ref, BBitmap *icon, icon_size iconSiz
return error;
}
// TODO: just here for providing binary compatibility
// (for example "Guido" needs this)
extern "C"
status_t
GetTrackerIcon__9BNodeInfoP9entry_refP7BBitmap9icon_size(
BNodeInfo *nodeInfo, entry_ref* ref,
BBitmap* bitmap, icon_size iconSize)
{
// NOTE: nodeInfo is ignored - maybe that's wrong!
return BNodeInfo::GetTrackerIcon(ref, bitmap, iconSize);
}
void
BNodeInfo::_ReservedNodeInfo1()
{