Added dispatching of some now implemented roster requests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@463 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
// Registrar.cpp
|
||||
|
||||
#ifndef DEBUG
|
||||
# define DEBUG 1
|
||||
#endif
|
||||
#include "Debug.h"
|
||||
|
||||
#include <Application.h>
|
||||
@@ -29,6 +26,7 @@ FUNCTION_START();
|
||||
AddHandler(fClipboardHandler);
|
||||
fMIMEManager = new MIMEManager;
|
||||
fMIMEManager->Run();
|
||||
FUNCTION_END();
|
||||
}
|
||||
|
||||
// destructor
|
||||
@@ -40,6 +38,7 @@ FUNCTION_START();
|
||||
RemoveHandler(fClipboardHandler);
|
||||
delete fClipboardHandler;
|
||||
delete fRoster;
|
||||
FUNCTION_END();
|
||||
}
|
||||
|
||||
// MessageReceived
|
||||
@@ -81,6 +80,12 @@ FUNCTION_START();
|
||||
case B_REG_REMOVE_APP:
|
||||
fRoster->HandleRemoveApp(message);
|
||||
break;
|
||||
case B_REG_SET_THREAD_AND_TEAM:
|
||||
fRoster->HandleSetThreadAndTeam(message);
|
||||
break;
|
||||
case B_REG_GET_RUNNING_APP_INFO:
|
||||
fRoster->HandleGetRunningAppInfo(message);
|
||||
break;
|
||||
default:
|
||||
BApplication::MessageReceived(message);
|
||||
break;
|
||||
@@ -102,6 +107,7 @@ Registrar::QuitRequested()
|
||||
FUNCTION_START();
|
||||
// The final registrar must not quit. At least not that easily. ;-)
|
||||
return BApplication::QuitRequested();
|
||||
FUNCTION_END();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user