From 2297a36b5b36a171c118b68e740c8c6a2b06003d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Wed, 22 Mar 2006 20:33:02 +0000 Subject: [PATCH] * 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 --- src/kits/app/Roster.cpp | 10 ++++++++++ src/kits/storage/NodeInfo.cpp | 12 ++++++++++++ 2 files changed, 22 insertions(+) diff --git a/src/kits/app/Roster.cpp b/src/kits/app/Roster.cpp index 457b40b683..e158e810dc 100644 --- a/src/kits/app/Roster.cpp +++ b/src/kits/app/Roster.cpp @@ -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 diff --git a/src/kits/storage/NodeInfo.cpp b/src/kits/storage/NodeInfo.cpp index 396c43a764..9c2f3a2071 100644 --- a/src/kits/storage/NodeInfo.cpp +++ b/src/kits/storage/NodeInfo.cpp @@ -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() {