diff --git a/src/servers/debug/DebugServer.cpp b/src/servers/debug/DebugServer.cpp
index 26f5421..33fc877 100644
a
|
b
|
|
24 | 24 | #include <Invoker.h> |
25 | 25 | #include <Locale.h> |
26 | 26 | #include <Path.h> |
| 27 | #include "tracker_private.h" |
27 | 28 | |
28 | 29 | #include <MessengerPrivate.h> |
29 | 30 | #include <RegistrarDefs.h> |
… |
… |
private:
|
139 | 140 | bool _IsInputServer() const; |
140 | 141 | bool _IsRegistrar() const; |
141 | 142 | bool _IsGUIServer() const; |
| 143 | bool _IsDesktop() const; |
142 | 144 | |
143 | 145 | static const char *_LastPathComponent(const char *path); |
144 | 146 | static team_id _FindTeam(const char *name); |
… |
… |
TeamDebugHandler::_IsGUIServer() const
|
981 | 983 | } |
982 | 984 | |
983 | 985 | |
| 986 | bool |
| 987 | TeamDebugHandler::_IsDesktop() const |
| 988 | { |
| 989 | app_info info; |
| 990 | BRoster roster; |
| 991 | if (roster.GetAppInfo(fExecutablePath, &info) == B_OK) { |
| 992 | if (strcmp(info.signature, kDeskbarSignature) == 0) { |
| 993 | TRACE(("debug_server: Deskbar Died!\n")); |
| 994 | return true; |
| 995 | } else if (strcmp(info.signature, kTrackerSignature) == 0) { |
| 996 | TRACE(("debug_server: Tracker Died!\n")); |
| 997 | return true; |
| 998 | } |
| 999 | } |
| 1000 | return false; |
| 1001 | } |
| 1002 | |
| 1003 | |
984 | 1004 | const char * |
985 | 1005 | TeamDebugHandler::_LastPathComponent(const char *path) |
986 | 1006 | { |
diff --git a/src/servers/debug/Jamfile b/src/servers/debug/Jamfile
index d643d8c..1f35847 100644
a
|
b
|
UsePrivateHeaders app ;
|
4 | 4 | UsePrivateHeaders debug ; |
5 | 5 | UsePrivateHeaders kernel ; |
6 | 6 | UsePrivateHeaders shared ; |
| 7 | UsePrivateHeaders tracker ; |
7 | 8 | |
8 | 9 | AddResources debug_server : debug_server.rdef ; |
9 | 10 | |